Page 1 of 1
Overload protection setting
Posted: Wed Apr 23, 2025 6:50 am
by corty8
Hi All
I have been doing a few board with in circuit programming and in most cases it is working fine but in order for it to work I usually have to use the slowest setting which is usually an overload error
If I increase overload protection to 200mA will this help and allow to run at 10% speed maybe?
Thanks
Re: Overload protection setting
Posted: Wed Apr 23, 2025 8:52 am
by ArT
Please check what is current consumption of your board when you use external power supply DC/DC powering it from the same pins as programmer (programmer disconnected). Programmer is limiting to 100mA/200mA but sometimes it's not enough and the only solution is to desolder the chip and programm it in adapter. There are some tricks to lower external board power consumption, e.g. using slightly lower voltage (e.g. 2.6V for 3.3V chip) so MCU connected to FLASH will not start (voltage < BOD level) but it all depends on external board, sometimes internal capacity is so high that current is much above limits (chargins caps). Please check manual chapter 5 for more details.
Re: Overload protection setting
Posted: Thu Apr 24, 2025 8:30 am
by corty8
so if I plug in original power supply for laptop it will help?
Or perhaps leave charged battery in?
Re: Overload protection setting
Posted: Thu Apr 24, 2025 9:33 am
by ArT
I was talking about external DC/DC power supply (with customizable voltage and current limit).
When you plug laptop power supply, it will start initial procedure where FLASH is communicating with other devices on board and you can not read/write FLASH during operation (bus conflict).
Re: Overload protection setting
Posted: Fri Apr 25, 2025 2:06 am
by corty8
ok, can you suggest where I can find more information on how to this?
I have a power supply where I can adjust voltage and current but how do I fond out what settings to use and where to power on the board
Re: Overload protection setting
Posted: Thu May 01, 2025 7:02 am
by ArT
It really depends on the specific board you are working with. Some basic skills and experience are necessary beyond just using the programmer — sometimes you may need documentation or even a schematic for the board itself.
The safest way to supply power externally is usually via the memory chip pins. For example, if you're working with a SPI flash memory like the 25xx series, it typically has VCC (power) on pin 8 and GND on pin 4. You can connect an appropriate external power supply between these two pins. Usually, the voltage is 3.3V or 1.8V, but you must confirm the actual voltage used on the board to avoid damage.
Let me know if you need help identifying those pins or checking the voltage.