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 - reza_elc87

#1
Dear friends,

quoted from LPC1768 user mannual:
"The reserved Cortex-M3 exception vector location 7 (offset 0x 001C in the vector table)
should contain the 2's complement of the check-sum of table entries 0 through 6. This
causes the checksum of the first 8 table entries to be 0. The boot loader code checksums
the first 8 locations in sector 0 of the flash. If the result is 0, then execution control is
transferred to the user code."

How flash magic calculates the checksum of these entries nad its two's complement? I do the calculation, but mine is different than what flash magic offers.
#2
ARM Cortex / Re: LPC1768 PROGRAMMING ISSUE
June 20, 2015, 11:19:41 PM
I would say it is a connection problem. check them again.
Or probably you are using a wrong com port. check to see if you choose the same com port as your microcontroller is connected to the computer
#3
Dear friends, Hello.

I am a software developer of ARM-LPC MCUs and I have written many C-based applications for embedded systems. In my new project I need to come out of C a little and start developing a custom application with C# (or any other language) that does a part of Flash Magic job.

I need to read a hex file and put it in the flash memory of an LPC1768 microcontroller. I mean I need a custom program to be able to "flash program" the LPC1768 using ISP.

I would really appreciate if you helped me figure out where to start.
With warm regards