I am using a KL30Z8 and sdk2.0 <lpuart_polling software
Solved! Go to Solution.
Hi RAMON RAMIREZ,
If you want to disable the RESET pin, flash address 0x40D, FOPT, clear bit 3 to 0.
Just modify the .s file, change 0x40d, bit3 to0.
If you are using the IAR project, you also need to modify the options, .board file, add enable modify configration filed function.
Wish it helps you!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi RAMON RAMIREZ,
The KSDK2.0-frdm-kl03z code is just using the internal IRC, not the external cyrstal.
I have run it on my frdm-kl03 board, it has no problem.
Do you modify the code?
Two points you need to check:
1. Did you download the code to the flash? Not the RAM?
2. Check flash address 0x40D, bit 7 and bit8 is what data? 0B00?
0X3D is the address 0X40D FOPT data, if you want to boot from flash, you need to modify this data to 0x3d.
Please check it on your side.
If you still not OK, please let me know!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi RAMON RAMIREZ,
Please don't worry, actually, after your board is powered on, the code will run automatically after POR reset.
But please note, even you don't use the reset button, in the reset pin, you still need to add 4.7K to 10K external pull-up resistor, and the 0.1uf capacitor to ground.
The reason why you use the frdm-kl03 after power on it, it seems it's not working, and press reset it is Ok, I think it is caused by the com port identification in the PC, after power on, the PC still not find the COM port, you need to search the com port in the PC at first, after it connected, your serial assistant will find the according uart data.
Actually, if you use the oscilloscope to check the lpuart wave after power on, you will get the according uart wave, it means the code is running automatically.
Wish it helps you!
If you still have question, please let me know!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi RAMON RAMIREZ,
If you want to disable the RESET pin, flash address 0x40D, FOPT, clear bit 3 to 0.
Just modify the .s file, change 0x40d, bit3 to0.
If you are using the IAR project, you also need to modify the options, .board file, add enable modify configration filed function.
Wish it helps you!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------