Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
How to convert LPC1768 mbed program code to LPC1769 code
Jump...
Cancel
Locked
Locked
Replies
3 replies
Subscribers
119 subscribers
Views
5600 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
How to convert LPC1768 mbed program code to LPC1769 code
Prad PA
over 12 years ago
Note: This was originally posted on 7th March 2013 at
http://forums.arm.com
I need to use an existing program code in lpc1768 mbed to load & use it in lpc1769...how do i do this??
Parents
Jay Guild
over 12 years ago
Note: This was originally posted on 19th June 2013 at
http://forums.arm.com
I had developed some C++ code in the mBed compiler for the LPC1768 and exported it to a Keil uVision project. After doing this and testing my software and coming up with working code for the 1768 mBed dev board I had a prototype board built with the 1769 and compiled the hex file in uVision after chaning the target micro to the LPC 1769 but when I install it does not work at all. So then I developed a simple program that would flash the LED on the dev board on the 1768 and that worked. I exported it to uVision and changed the GPIO to a different pin to control the LED and changed the project to the target 1769 micro and that does not work either. If I use the standard C library, the Keil LPC17xx_startup.s script, and the 17xx header file I can get the heartbeat to work with no issues. I think there is something in the mbed library that causes the 1769 register mapping to be off because I can't get anything to work on the 1769 with the mbed library.
Cancel
Vote up
0
Vote down
Cancel
Reply
Jay Guild
over 12 years ago
Note: This was originally posted on 19th June 2013 at
http://forums.arm.com
I had developed some C++ code in the mBed compiler for the LPC1768 and exported it to a Keil uVision project. After doing this and testing my software and coming up with working code for the 1768 mBed dev board I had a prototype board built with the 1769 and compiled the hex file in uVision after chaning the target micro to the LPC 1769 but when I install it does not work at all. So then I developed a simple program that would flash the LED on the dev board on the 1768 and that worked. I exported it to uVision and changed the GPIO to a different pin to control the LED and changed the project to the target 1769 micro and that does not work either. If I use the standard C library, the Keil LPC17xx_startup.s script, and the 17xx header file I can get the heartbeat to work with no issues. I think there is something in the mbed library that causes the 1769 register mapping to be off because I can't get anything to work on the 1769 with the mbed library.
Cancel
Vote up
0
Vote down
Cancel
Children
No data