I am currently porting a project from Stellaris LM3S6611 to a NXP
LPC1766. On the Stellaris chip the MAC address is normally set in the
user registers that are OTP or One Time Programmable. For production
we are currently using the Stellaris LM flash programmer in command
line mode to do this from an in house program.
Looking at examples for the Flash Magic bootloader, the MAC
address is hardcoded in a .h file. Not really convenient. What is the
standard way to do this on an NXP chip so the boot loader and the
application have the same MAC address? Just take any free flash page
and put the MAC there? I don't know if uVision has some support for
this but I'm not sure that this is a good program for production. OK
our current binary is only 24K so we could use the free version.
Is the Flash Magic bootloader the most suitable bootloader? Is it
identical to NXPs bootloader? Any other good ones I should look at? I
only want to be able to update application via Ethernet and start my
application when in normal mode. Don't need serial, SPI support
etc.
For licensing reasons we can not use the Stellaris LM Flash
programmer and I think the Stellaris evalution board we use as JTAG
will not program an NXP. I think they check manufacturer ID of the
connected chip.
Read-Only
Author eric krieg
Posted 25-May-2012 21:41 GMT
Toolset ARM
RE: Setting MAC address
eric krieg
I noticed you said "For licensing reasons we can not use the
Stellaris LM Flash programmer" - I thought this program was free for
anyone to use. Could you tell me why you don't use it. I just got my
project working with it - i used to use Y modem, but that was tricky.
any advice is appreciated
Read-Only
Author H A
Posted 28-May-2012 16:59 GMT
Toolset ARM
RE: Setting MAC address
H A
I really meant the bootloader. In the header for the bootloader it
clearly say that this product should only be used together with
Stellaris products. I think that if it works, you can use the LM
Flash Programmer with their evaluation board as JTAG. But I saw
somewhere that they check the vendor ID so it might not work with
non-Stellaris devices. Really don't know if there are any
restrictions.
Anyway switched over to LPCExpresso boards both for M0 and M3 with
the LPCExpresso IDE. Works great and those boards cost perhaps
20£. I got the M0 free as a sample. And they contain JTAG
(really SWD) over USB. You could also break the board in two and have
a development board and a SWD I/F (LPC-Link).
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.