0
\$\begingroup\$

LPC1343 when connected to PC acts like a mass storage device.How can I upload code to the microcontroller.Is there any IDE which converts the C program to .bin for uploading the code?If so,please tell me the IDE names.

\$\endgroup\$

1 Answer 1

0
\$\begingroup\$

You can check the LPCXpresso IDE from NXP. Once you compiled your code, you can drag the bin to LPC1343 mass storage device for flashing. Check this manual too.

\$\endgroup\$
5
  • \$\begingroup\$ I am not using LPCXpresso.I am doing my own custom built board using LPC1343 with USB connectivity only.I saw in many websites that LPC1343 has builtin bootloader during manufacture.I completed my designing of the board.I think it'll work.What is your suggestion?Waiting for your valuable suggestion. :) \$\endgroup\$
    – Aadarsh
    Sep 6, 2015 at 13:43
  • \$\begingroup\$ @Aadarsh take a look at the device manual nxp.com/documents/user_manual/UM10375.pdf chapter 21 . In the section 21.9 you can see that there is an USB ISP on this device. You can used to flash your target. Before copying your binary to the target you will need to insert the checksum on it as described in the section 21.9.1 \$\endgroup\$ Sep 8, 2015 at 12:29
  • \$\begingroup\$ I gone through the contents.Since I am beginner to 32 bit micro-controllers,I cant understand the term checksum,what is checksum.How can I insert a checksum in the micro-controller.Do I need any JTAG or some other debugger to do it?Please explain me about checksum and implementation the fresh LPC1343 micro-controller :) \$\endgroup\$
    – Aadarsh
    Sep 8, 2015 at 16:43
  • \$\begingroup\$ I've found an application note from NXP that can help you nxp.com/documents/application_note/AN10986.pdf \$\endgroup\$ Sep 8, 2015 at 17:09
  • \$\begingroup\$ I got the point.Now I am preparing my board.A small doubt arises.Is it necessary to use USB soft connect? or manually working is okay? \$\endgroup\$
    – Aadarsh
    Sep 20, 2015 at 8:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.