This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hi
I am trying to load the code it properly gets loaded but when i power cycle the code doesn't get retained.(i have kept LED blinking for checking the same, while loading the code ,the code gets properly loaded and led is blinking
but after power cycling the LED doesn't blink).
I checked for other details after power cycling the pulses and all are not coming.
Kindly please guide me through it
The code which is loaded does not get retained. That means the controller code which is loaded gets erased after power cycling.
I need to load code again and again as it gets erased after power cycling.
It can be seen through LED blinking.
I want to understand that is it hardware or software issue? am I missing some things from the micro, or something needs to be changed in code
Hi,
I think it will be IDE flash configuration issue. Which IDE do you use, and can you show the configuration of flashing properties?
Regards,
Zoey
Is there any pull up required for any pins as i dumped the code in different boards it works fine there. After power cycling as well
The PA0 and PA1 are open-drain IO and it will need pull-up resistor.
Do you develop based on our LaunchPad? May I see your hardware connection to double check whether it is hardware issue
attaching the picture for the reference
But i have tried previously when PA0 and PA1 where not pull up but the code had retained
Also PA18 is BSL invoke will that need pull down resistor as mentioned in TRM and can BSL invoke be disabled in software?
1. Double check PA18 is connected to GND while MCU is power up.
2. Can you connect device to read the memory to see whether code is been flashed into MCU.
can BSL invoke be disabled in software?
Yes, BSL can be disabled in NONMAIN.
Regards,
Zoey