Sign in

username:

password:



Not a member?

Search lpc2000



Search tips

Subscribe to lpc2000



lpc2000 by Keywords

2106 | ADC | ARM7 | Atmel | Bootloader | CAN | CrossStudio | CrossWorks | DDS | ECos | Ethernet | ETM | FIFO | FLASH | FPGA | GCC | GDB | GNU | GNUARM | GPIO | I2C | IAP | IAR | JTAG | Kickstart | LCD | Linux | LPC | LPC-E2294 | LPC2000 | LPC2100 | LPC2104 | Lpc2106 | Lpc210x | LPC2114 | LPC2119 | LPC2124 | LPC2129 | Lpc2138 | LPC213x | LPC21xx | LPC2210 | LPC2212 | LPC2214 | LPC2292 | LPC2294 | LPC2xxx | LPC3128 | MCB2100 | Olimex | Philips | PWM | Rowley | RTC | RTOS | SPI | SSP | UART | UART0 | UART1 | ULINK | USB | Watchdog | Wiggler

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | LPC2000 | Flash Magic and LPC2103


Advertise Here

Discussion group dedicated to the Philips LPC2000 family of ARM MCUs

Flash Magic and LPC2103 - tomaszboro - Jun 4 17:38:50 2009

Hello, I want to begin programming ARM microcontrollers.
I have simple board for testing programs using LPC2103.
I wanted to load simple blinking led program using FlashMagic.
It seemed that programming was succesfull, but any loaded program
didn't work.
I tested many of them, but no one worked properly.
I thought that I had some problem with my board, but Flash magic was
properly connecting with LPC2103.
I tried to load program with LPC21ISP and the led was blinking.
I wanted to find why loading hex file using Flash Magic failed, and I
found in LPC2103 manual "Criterion for valid user code" section.
It says that to begin the user code execution, the reserved interrupt
vector location must be loaded with properly calculated value.
I read the program memory using flash magic in order to check if that
location was set properly and compared results of programming by flash
magic and LPC21ISP.
I found that LPC21ISP properly programmed this reserved location, but
flash magic didn't.
Could you tell me why this happens? Am I doing something wrong?

------------------------------------



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )


Re: Flash Magic and LPC2103 - rtstofer - Jun 4 19:00:35 2009

--- In l...@yahoogroups.com, "tomaszboro" wrote:
>
> Hello, I want to begin programming ARM microcontrollers.
> I have simple board for testing programs using LPC2103.
> I wanted to load simple blinking led program using FlashMagic.
> It seemed that programming was succesfull, but any loaded program
> didn't work.
> I tested many of them, but no one worked properly.
> I thought that I had some problem with my board, but Flash magic was
> properly connecting with LPC2103.
> I tried to load program with LPC21ISP and the led was blinking.
> I wanted to find why loading hex file using Flash Magic failed, and I
> found in LPC2103 manual "Criterion for valid user code" section.
> It says that to begin the user code execution, the reserved interrupt
> vector location must be loaded with properly calculated value.
> I read the program memory using flash magic in order to check if that
> location was set properly and compared results of programming by flash
> magic and LPC21ISP.
> I found that LPC21ISP properly programmed this reserved location, but
> flash magic didn't.
> Could you tell me why this happens? Am I doing something wrong?
>

As long as you use LPC21ISP, you aren't doing anything wrong.

As to Flash Magic: isn't there a checkbox or something that deals with generating the checksum. It's been a long time since I used Flash Magic but I seem to recall that this wasn't a problem. Since the checksum is over the interrupt vectors and these vectors usually point to fixed locations within crt.s, the value calculated by lpc21isp can probably be used with Flash Magic. But you would have to get it in the hex file.

Richard

------------------------------------

______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: Flash Magic and LPC2103 - tcirobot - Jun 4 23:29:26 2009

--- In l...@yahoogroups.com, "tomaszboro" wrote:
>
> Hello, I want to begin programming ARM microcontrollers.
> I have simple board for testing programs using LPC2103.
> I wanted to load simple blinking led program using FlashMagic.
> It seemed that programming was succesfull, but any loaded program
> didn't work.
> I tested many of them, but no one worked properly.
> I thought that I had some problem with my board, but Flash magic was
> properly connecting with LPC2103.
> I tried to load program with LPC21ISP and the led was blinking.
> I wanted to find why loading hex file using Flash Magic failed, and I
> found in LPC2103 manual "Criterion for valid user code" section.
> It says that to begin the user code execution, the reserved interrupt
> vector location must be loaded with properly calculated value.
> I read the program memory using flash magic in order to check if that
> location was set properly and compared results of programming by flash
> magic and LPC21ISP.
> I found that LPC21ISP properly programmed this reserved location, but
> flash magic didn't.
> Could you tell me why this happens? Am I doing something wrong?
>

I use FlashMagic with the LPC2103 without any problems. I use the Olimex LPC-P2103 board.

TC

------------------------------------



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: Flash Magic and LPC2103 - tomaszboro - Jun 5 19:41:38 2009

Thanks for answers.
There is in flashmagic "Gen block checksums" checkbox, but it is
disabled for LPC 2103.
I used Flash Magic 5.00. There is probably problem with flash magic
because release notes for
flashMagic 5.01 says: "Fixed bug in ARM 7 driver that stopped code from
executing after being programmed."
The latest version is 5.03. I tried this latest version but it also
didn't work :( . I don't know how to get previous version of flash
magic, so i can't test flash magic 5.01. Probably I have to wait for the
next release.

[Non-text portions of this message have been removed]

------------------------------------



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: Flash Magic and LPC2103 - tcirobot - Jun 6 10:30:44 2009

--- In l...@yahoogroups.com, "tomaszboro" wrote:
>
> Thanks for answers.
> There is in flashmagic "Gen block checksums" checkbox, but it is
> disabled for LPC 2103.
> I used Flash Magic 5.00. There is probably problem with flash magic
> because release notes for
> flashMagic 5.01 says: "Fixed bug in ARM 7 driver that stopped code from
> executing after being programmed."
> The latest version is 5.03. I tried this latest version but it also
> didn't work :( . I don't know how to get previous version of flash
> magic, so i can't test flash magic 5.01. Probably I have to wait for the
> next release.
>
> [Non-text portions of this message have been removed]
>

FYI... I am using version 4.39.1539

Device set to LPC2103
Interface set to FDI USB-ICP-LPC2K

TC

------------------------------------



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: Flash Magic and LPC2103 - tcirobot - Jun 9 18:23:50 2009

--- In l...@yahoogroups.com, "tomaszboro" wrote:
>
> Thanks for answers.
> There is in flashmagic "Gen block checksums" checkbox, but it is
> disabled for LPC 2103.
> I used Flash Magic 5.00. There is probably problem with flash magic
> because release notes for
> flashMagic 5.01 says: "Fixed bug in ARM 7 driver that stopped code from
> executing after being programmed."
> The latest version is 5.03. I tried this latest version but it also
> didn't work :( . I don't know how to get previous version of flash
> magic, so i can't test flash magic 5.01. Probably I have to wait for the
> next release.
>
> [Non-text portions of this message have been removed]
>

FYI - I downloaded 5.03 and it works fine with my LPC-2103.

TC

------------------------------------

______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: Flash Magic and LPC2103 - tomaszboro - Jun 9 18:39:07 2009

> FYI - I downloaded 5.03 and it works fine with my LPC-2103.
>
> TC
>

Thanks for information.
If it works for you, I will have to test it again.
I will try tomorrow.

------------------------------------

______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: Flash Magic and LPC2103 - tomaszboro - Jun 10 12:35:41 2009

FlashMagic 5.10 has been released.
I have tested this version. It works ok with LPC2103 now.

Thank you all for replies.

------------------------------------



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: Flash Magic and LPC2103 - raju_nem - Jun 11 3:12:21 2009


plz tell the process how to program in to lpc2148 using flash magic

--- In l...@yahoogroups.com, "tomaszboro" wrote:
>
> FlashMagic 5.10 has been released.
> I have tested this version. It works ok with LPC2103 now.
>
> Thank you all for replies.
>

------------------------------------



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: Flash Magic and LPC2103 - jdauchot - Jun 11 3:49:49 2009

Read the manual

--- In l...@yahoogroups.com, "raju_nem" wrote:
> plz tell the process how to program in to lpc2148 using flash magic
>
> --- In l...@yahoogroups.com, "tomaszboro" wrote:
> >
> > FlashMagic 5.10 has been released.
> > I have tested this version. It works ok with LPC2103 now.
> >
> > Thank you all for replies.
>

------------------------------------



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: Flash Magic and LPC2103 - raju_nem - Jun 11 10:35:36 2009


can i know which manual(lpc2148 manual) i have to read ?

nothing is mentioned in the lpc2148 manual about programming the lpc2148 using flash magic.
--- In l...@yahoogroups.com, "jdauchot" wrote:
>
> Read the manual
>
> --- In l...@yahoogroups.com, "raju_nem" wrote:
> >
> >
> > plz tell the process how to program in to lpc2148 using flash magic
> >
> > --- In l...@yahoogroups.com, "tomaszboro" wrote:
> > >
> > > FlashMagic 5.10 has been released.
> > > I have tested this version. It works ok with LPC2103 now.
> > >
> > > Thank you all for replies.
> > >
>

------------------------------------



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: Flash Magic and LPC2103 - jdauchot - Jun 11 12:02:09 2009


The Flash Magic manual.

--- In l...@yahoogroups.com, "raju_nem" wrote:
> can i know which manual(lpc2148 manual) i have to read ?
>
> nothing is mentioned in the lpc2148 manual about programming the lpc2148 using flash magic.
> --- In l...@yahoogroups.com, "jdauchot" wrote:
> >
> > Read the manual
> >
> > --- In l...@yahoogroups.com, "raju_nem" wrote:
> > >
> > >
> > > plz tell the process how to program in to lpc2148 using flash magic
> > >
> > > --- In l...@yahoogroups.com, "tomaszboro" wrote:
> > > >
> > > > FlashMagic 5.10 has been released.
> > > > I have tested this version. It works ok with LPC2103 now.
> > > >
> > > > Thank you all for replies.
> > > >
> > >
>

------------------------------------



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )