Main Menu
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 - bikebogota

#1
ARM Cortex / Re: LPC1768H and FlashMagic
May 18, 2011, 07:53:21 AM
Hello again,

Thanks for your reply. Im sorry I have to asks some new questions, since In the product site: http://shop.ngxtechnologies.com/product_info.php?products_id=65, all they say is it supports ISP and: "ISP programming: Programming through the on chip boot loader using UART interface and Flash Magic":

- FlashMagic uses the UART to flash my target, but do I need to pre-load any program to my target, so the UART is possible?
- There is no circuit example in the FlashMAgic user guide, so how to the hardware? USB-to-RS232 converter and then 2 cables to UART0? or 4 cables to UART0 and BSL and RTS?
- I am using a USB-to-RS232 cable, I connect the target as said here: http://www.flashmagictool.com/assets/resources/PoUSB12LPCProg.pdf, I reset the board and push a switch called "ISP" (I guessed that, I haven't found any guide), then when I open the FlashMagic terminal tool, I get rubish in the reply... is that correct? I have tried all baudrates.
- FlashMagic answers "failed to autobaud". What is missing?

Thanks for your answers

#2
ARM Cortex / LPC1768H and FlashMagic
May 17, 2011, 07:49:52 AM
Hello,

I have a LPC1768H (blueboard), it has a usb port and a JTAG port. Currently I flash through JTAG and a openOCD usb dongle. With a sec bootloader, the LPC1768H could be seen as an external storage device, without it, the PC does not detect any device.
My OpenOCD dongle allows me to communicate my PC to the UART0 in the blueboard, so I have used UART (through TeraTerm) in code that uses the UART0.

My questions are:

- With FlashMagic, do I still need my OpenOCD-usb dongle?
- Should my LPC1768H appear as a new device with its own COM port?
- Do I need a USB_to_RS232 cable (my current dongle does it)?
- Is there any more detailed guide than the FlashMagic users guide?

Thanks