-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LPC15xx support #26
base: master
Are you sure you want to change the base?
LPC15xx support #26
Conversation
Signed-off-by: Stefan Szczygielski <[email protected]>
This code does not work with LPC1549. |
Could you be more specific? AFAIK lpc21isp returns failure or something on exit and doesn't jump-start the code but the programming itself works correctly. |
I guess you are not running your MCU at a frequency of 12 kHz (12 000 Hz) but probably at 12 MHz (12 000 000 Hz).
This influences the internal programming delays and such (AFAIR it is being passed to programming firmware routines in ROM firmware), might make it work. |
The LPC15xx use internal 12MHz RC oscillator for ISP. External XTAL/Generator does not affect the ISP process. (LPC15XX User Manual 34.4 "UART communication protocol") |
Still, you need to pass 12000000 (and not 12000) as operating frequency to lpc21isp. |
Extensively verified and tested with LPC1519 & LPC1549 variants.
Signed-off-by: Stefan Szczygielski [email protected]