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