Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 10:57 01 Aug 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Bummer .....

     Page 1 of 2    
Author Message
hitsware2

Guru

Joined: 03/08/2019
Location: United States
Posts: 719
Posted: 02:40am 02 Nov 2021
Copy link to clipboard 
Print this post

....With this one
Blinks the LED, but doesn't hold the program when unpluged  
my site
 
panky

Guru

Joined: 02/10/2012
Location: Australia
Posts: 1114
Posted: 04:16am 02 Nov 2021
Copy link to clipboard 
Print this post

Doesn't hold MMBasic or an entered program?
... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it!
 
toml_12953
Guru

Joined: 13/02/2015
Location: United States
Posts: 442
Posted: 07:20am 02 Nov 2021
Copy link to clipboard 
Print this post

  hitsware2 said  ....With this one
Blinks the LED, but doesn't hold the program when unpluged  


Since it has no FLASH memory onboard, I don't see how it could. It has FLASH on an external QSPI but the mechanism for writing to it is different than with the CMM2 or other systems that have onboard FLASH.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7937
Posted: 07:22am 02 Nov 2021
Copy link to clipboard 
Print this post

Are OPTIONs being saved? Are the Flash slots working? Does AUTORUN n work?
Which MBasic release?
Edited 2021-11-02 17:22 by Mixtel90
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7937
Posted: 07:30am 02 Nov 2021
Copy link to clipboard 
Print this post

The RP2040 has no Flash, toml, just the 264k RAM and a bit of cache memory. The Flash is always external to it. The difference in this case is that they have provided a bigger chip. It is accessed using QSPI just as it is on the Pico.
Edited 2021-11-02 17:33 by Mixtel90
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
hitsware2

Guru

Joined: 03/08/2019
Location: United States
Posts: 719
Posted: 11:23am 02 Nov 2021
Copy link to clipboard 
Print this post

  panky said  Doesn't hold MMBasic or an entered program?

After unplug - plug back in ......
It is no longer a serial port
Appears like original ( as far as I see )
my site
 
hitsware2

Guru

Joined: 03/08/2019
Location: United States
Posts: 719
Posted: 11:33am 02 Nov 2021
Copy link to clipboard 
Print this post

  Mixtel90 said  Are OPTIONs being saved? Are the Flash slots working? Does AUTORUN n work?
Which MBasic release?


This one
I have'nt got further than blinking a led ...
my site
 
hitsware2

Guru

Joined: 03/08/2019
Location: United States
Posts: 719
Posted: 11:35am 02 Nov 2021
Copy link to clipboard 
Print this post

  toml_12953 said  
Since it has no FLASH memory onboard, I don't see how it could. It has FLASH on an external QSPI but the mechanism for writing to it is different than with the CMM2 or other systems that have onboard FLASH.

Pico works fine  
my site
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10310
Posted: 11:42am 02 Nov 2021
Copy link to clipboard 
Print this post

The reason could be that they are doing something strange with GP21

Out on interest try the attached which removes GP21 from the initialisation


PicoMite.zip
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2442
Posted: 01:27pm 02 Nov 2021
Copy link to clipboard 
Print this post

looks like GP21 is tied to the BOOTSEL switch:

adafruit_products_QTRP_sch.pdf


cheers,
rob   :-)
Edited 2021-11-02 23:31 by robert.rozee
 
hitsware2

Guru

Joined: 03/08/2019
Location: United States
Posts: 719
Posted: 05:34pm 02 Nov 2021
Copy link to clipboard 
Print this post

  matherp said  The reason could be that they are doing something strange with GP21

Out on interest try the attached which removes GP21 from the initialisation


PicoMite.zip


Same .... It is possible I some way bricked that one .
I ' ve ordered 2 more plus two of these so we ' ll see what happens .
my site
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7937
Posted: 06:27pm 02 Nov 2021
Copy link to clipboard 
Print this post

This is probably always going to be a problem. We don't know, and have no control over, what pins are allocated to on-board stuff.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
scruss
Regular Member

Joined: 20/09/2021
Location: Canada
Posts: 91
Posted: 09:32pm 02 Nov 2021
Copy link to clipboard 
Print this post

I don't have any of the QtPy RP2040s in stock to try it with, but the PicoMite ran on the quite different SparkFun Pro Micro - RP2040 which moves some things around: f'rinstance, the LED pin (GP25) now runs a WS2812, so at least you don't get the infernal blinking when the board's idle.
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 11:57pm 02 Nov 2021
Copy link to clipboard 
Print this post

...you can disable the blinking LED on the PicoMite if it is annoying you.  

Page 107 of manual: SETPIN GP25,DOUT | HEARTBEAT

  Page 107 said  This version of SETPIN controls the on-board LED.
If it is configured as DOUT then it can be switched on and off under program control.
If configured as HEARTBEAT then it will flash 1s on, 1s off continually while powered. This is the default state and will be restored to this when the user program stops running.


I guess that does not fix the idle state you refer to, but so long as a code is running, you can turn that blinking LED off.  You could always cover the LED with a bit of blu-tak or something - that would make it effectively invisible under all conditions.
Smoke makes things work. When the smoke gets out, it stops!
 
hitsware2

Guru

Joined: 03/08/2019
Location: United States
Posts: 719
Posted: 02:41am 03 Nov 2021
Copy link to clipboard 
Print this post

  Grogster said  ...you can disable the blinking LED on the PicoMite if it is annoying you.  

Page 107 of manual: SETPIN GP25,DOUT | HEARTBEAT


Thank You !  
With an audio amp near by , that LED
radiates enough RF into the circuit
to be audible ( sounds more like
breathing than heart beating )
my site
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2640
Posted: 03:59am 03 Nov 2021
Copy link to clipboard 
Print this post

The "breathing" sound could be hash coming from the 5V to 3.3V converter, the LED blinking is changing the load on it.
Assuming the amp has it's own power source, put a 4.7 to 22 ohm resistor (trial and error for the best value) in the earth link between the amp and the PicoMite. This may reduce the noise somewhat.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7937
Posted: 07:29am 03 Nov 2021
Copy link to clipboard 
Print this post

That dc/dc converter is *very* noisy. The LED probably doesn't radiate any RF but the converter almost certainly does!

You can disable it by grounding the 3V3_EN pin (37) then use an external 3V3 linear LDO regulator from 5V (VBUS or VSYS) into the 3V3(OUT) pin (36). While shut down the converter goes into a very low current mode and turns off its output mosfet , so it's effectively isolated. Don't be too worried about doing this, it's in the data sheet for the chip. :)
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5089
Posted: 07:46am 03 Nov 2021
Copy link to clipboard 
Print this post

The Raspberry Pi Pico has a switching regulator that is noisy.

Most of the boards discussed here have linear regulators. Check the schematics !
Not sure if the noisy LED discussion relates to a switching regulator.
It could be that the board layout is not very good and the chip itself emits RF noise.

Volhout
PicomiteVGA PETSCII ROBOTS
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7937
Posted: 09:10am 03 Nov 2021
Copy link to clipboard 
Print this post

Raspberry Pi say that the Pico board layout was designed at the same time as the RP2040 and is optimised for it. That's why there are so many ground connections, it's not just for convenience, it's to reduce EMF from the very fast signal edges that can occur. The dc/dc converter is what it is - if you fit one you get noise. All switching converters are noisy, it's just that some are worse than others. :( Luckily you don't *have* to use it.

AFAIK modern LEDs aren't particularly noisy. At one time you could get a lot of impulse noise from them (and use them as a front end in random number generators!). You'll get plenty of noise from many LED light fittings, but not from single LEDs.
Edited 2021-11-03 19:17 by Mixtel90
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5089
Posted: 01:40pm 03 Nov 2021
Copy link to clipboard 
Print this post

Multicolor led's like the WS2812 may be noisy.... The serial datastream certainly may be.
PicomiteVGA PETSCII ROBOTS
 
     Page 1 of 2    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025