Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - dragon813

#1
ARM Cortex / Re: Starting application code from ISP
March 07, 2012, 05:55:22 PM
I have a similar issue when I use LPC1102.
I use Flash Magic command line interface to run " EXECUTE(0x0,THUMB)". I expected the ISP mode will quit and the application code will start to run form 0x0 address. But what I saw is the ISP mode did quit but my code never run correctly unless I power cycle it.
Any idea?

Thanks.
Dragon
#2
ARM Cortex / Re: LPC1xxx Help Needed
March 07, 2012, 05:49:43 PM
Andy,

Thanks.
It is a code issue. The ISP revoke code works solid.
http://www.nxp.com/documents/application_note/AN11015.pdf

LPC1102 is very tiny and nice MCU.

Dragon
#3
ARM Cortex / LPC1xxx Help Needed
December 14, 2011, 11:55:36 AM
Hi Andy,

I do need your help.

I use Flash magic program the unit with LPC1102 MCU.
If the LPC1102 is empty, I am able to program it using Flashmagic without issue.
If the LPC1102 was programmed and I want to erase/reprogram it using Flashmagic, but failed to autobaud.

Here is what I did.
1. In my FW, very early stage inside the main routine, I revoke the ISP by detecting one GPIO pin at low level.
This code is exactly for the apps note from NXP.
2. Hardware I am using FDTI USB to RS232 baord and just use TXD, RXD and VCC/GND.
3. I want read security signature in Flashmagic, it always says"failed to autobaud....".
4. When I use terminal, only right after reset, when I enter "?", I can get "synchronized" from the output screen. Any other time, no matter what I type, nothing show up in the output screen.
5. Is the auto baud feature enabled by default in LPC1102? Do my FW need enable this feature before revoke ISP mode?
6. I browsed all the related-info on the website by you and other persons and still cannot figure it out.

Can you help out?
Thanks a lot!