LPCXpresso IDE Upgrade from 6.1.0 to 7.2.0 Issue - Chip Re-Entering ISP Mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPCXpresso IDE Upgrade from 6.1.0 to 7.2.0 Issue - Chip Re-Entering ISP Mode

715 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ah138468 on Thu Jun 26 08:28:25 MST 2014
Hi,

I am trying to upgrade my LPCXpresso IDE from 6.1.0 [Build 164] to 7.2.0 [Build 153].

Existing projects that were created using 6.1.0 work fine in 6.1.0 as well as in 7.2.0. However when I create new projects in 7.2.0 I am facing an issue. When these projects are built into a .bin file and then uploaded to a NXP LPC11U37 401 chip using the In-System Programming (ISP) mode and then reset, a second or two later the chip re-enters ISP mode as oppose to executing the firmware.

I found that by creating a project in 7.2.0 and replacing it's .cproject file with the .cproject from a similar project made in 6.1.0 the problem was solved (after correcting references to the project name). However this is not a proper solution. Looking into the .cproject further I found that the second 'storageModule' tag with the id starting with 'com.crt.advproject.config.exe.debug....' was all that needed to be changed - by copying over this tag's id from the 6.1.0 project to the 7.2.0 project things seemed to work. Again though, this isn't a proper solution.

I am not familiar with Java, which is what I'm guessing this id references as part of the Java based IDE.

Has anyone else encountered this problem, or does anyone know what's happening here and what the solution is?

I have attached two workspaces. One was created with 6.1.0 and the other with 7.2.0. They both contain the chip, board and periph_blinky projects from the LPCOpen 2.03(*) examples that work fine as well as another project called 'project' that was created using the wizard with the following settings:

- LPC11Uxx > LPCOpen - C Project.
- Target: LPC11U17/401.
- Included the chip and board library projects.
- All other settings were left as the defaults.

... these projects illustrate the issue.

Also to get the projects to ouput a .bin file I removed the first '#' from: Project Properties > C/C++ Build > Settings > Build Steps > Post Build Steps > Command.

Thank you for the help!

* - http://www.lpcware.com/content/nxpfile/lpcopen-software-development-platform-lpc11xx-packages-0

Original Attachment has been moved to: forum.zip

0 Kudos
Reply
5 Replies

641 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ah138468 on Thu Jun 26 09:54:26 MST 2014
Yes, I didn't see your second post. Thanks for the links, it's working now. I did have the checksum hashed out.

The 6.1.0 IDE had 1 hash for the .bin file and the checksum whereas the 7.1.0 IDE has a hash each for the .bin file and the checksum... I didn't notice the second (for the checksum) and was only getting rid of the first (for the .bin).

Thank you.
0 Kudos
Reply

641 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Thu Jun 26 09:25:18 MST 2014
You obviously didn't spot the second reply. So I'll say again. Checksum.

Regards
LPCXpresso Support
0 Kudos
Reply

641 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ah138468 on Thu Jun 26 09:11:13 MST 2014
I hadn't looked at that (I have now)... but the problem is not in migrating an existing project from an old IDE to a newer one (which does actually work for me). The problem is when I create a new project in LPCXpresso 7.2.0 (I have also tried 7.0.2) the compiled .bin file doesn't execute, it just causes the chip to keep resetting into ISP mode. So there is no link to an older project or an older IDE. It's just because I was using the old IDE that I have projects created using the old IDE that work on both old and new but projects created using the new IDE don't work at all (ISP issues).
0 Kudos
Reply

641 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Thu Jun 26 08:57:02 MST 2014
Looks like you LPCxpresso 7 project is not running the checksum utility on your binary in the post-build step. You have it commented out.

http://www.lpcware.com/content/faq/lpcxpresso/image-checksums
http://www.lpcware.com/content/faq/lpcxpresso/post-processing-linked-application

Regards,
LPCXpresso Support
0 Kudos
Reply

641 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Thu Jun 26 08:42:12 MST 2014
Did you follow the migration instructions?
http://www.lpcware.com/content/faq/lpcxpresso/migrating-existing-projects
0 Kudos
Reply