On 3/23/2011 3:13 PM, normnet2003 wrote: >
> > Also on ISP:
> >
> >
> > "Having BSL low after reset will get the board into primary (UART)
> bootloader mode."
> >
> > Actually a lot of people have had a problem with understanding the
> correct procedure for ISP. I have found that the following
> instructions seem to work best.
> >
> > 1. Cycle power on the board.
> >
> > 2. Ground the ISP pin. Do not disconnect until after ISP programming
> is finished - step 5.
> >
> > 3. Momentarily ground reset.
> >
> > 4. Use whatever software you have to program the board ie.
> FlashMagic your IDE or others.
> >
> > 5. Remove the ground from the ISP pin.
> >
> > 6. Again cycle power on the board. A reset should work but I have
> had better luck with this method.
> >
> > At this point your board should be programmed and your application
> running.
> >
> > Thanks,
> > Larry
> > "Quote Ashwin: To know if the board is pre-loaded with USB
> boot-loader, check if the default firmware on the board makes it
> enumerate as HID device. If yes, then usb-bootloader is not loaded. :("
>
> The board appears as a HID device in device manager so I will require
> another method of programming.
> I haven't programmed the board, it has original LED confirmation
> blinks program running.
>
> I do not yet have JTAG as this is a trial and I would like to be able
> to do any means of programming before purchasing Crossworks and JTAG.
>
> Is ISP possible with "Flash Magic" to the Blueboard-lpc1768 as is?
> I have downloaded "Flash Magic" however I don't see a schematic for
> connections to the microcontroller in the manual.
> Ashwin noted the Blueboard-lpc1768-h does not have RS232 to TTL level
> converter on board but I may be able to utilize a transistor to invert
> the signal.
>
> Norm Try an alternate approach like using an NGX ARM USB JTAG, cost $27.08.
See:
Or if you are one of the few people who has a computer with a parallel
port get a a NGX parallel port JTAG, cost $5.64.
> > Gee, send me your postal address and I'll comp
you a CrossConnect
> > Lite. It irritates me to see people scratch about and get frustrated.
> >
> > -- Paul.
> > Guys, shouldn't we be able to walk Norm through ISP and UART0 with
> FlashMagic or will that not work on a Blueboard?
Why expend all that energy?
-- Paul.
Reply by Paul Curtis●March 24, 20112011-03-24
Hi,
> "Quote Ashwin: To know if the board is pre-loaded
with USB boot-loader, check > if the default firmware on the board makes it
enumerate as HID device. If yes, > then usb-bootloader is not loaded. :("
>
> The board appears as a HID device in device manager so I will require another > method of programming.
> I haven't programmed the board, it has original LED confirmation
blinks program > running.
>
> I do not yet have JTAG as this is a trial and I would like to be able to do any > means of programming before purchasing Crossworks and
JTAG.
Gee, send me your postal address and I'll comp you a CrossConnect Lite.
It
irritates me to see people scratch about and get frustrated.
-- Paul.
Reply by normnet2003●March 23, 20112011-03-23
> Also on ISP:
> "Having BSL low after reset will get the board into primary (UART) bootloader
mode."
>
> Actually a lot of people have had a problem with understanding the correct
procedure for ISP. I have found that the following instructions seem to work
best.
>
> 1. Cycle power on the board.
>
> 2. Ground the ISP pin. Do not disconnect until after ISP programming is
finished - step 5.
>
> 3. Momentarily ground reset.
>
> 4. Use whatever software you have to program the board ie. FlashMagic your IDE
or others.
>
> 5. Remove the ground from the ISP pin.
>
> 6. Again cycle power on the board. A reset should work but I have had better
luck with this method.
>
> At this point your board should be programmed and your application running.
>
> Thanks,
> Larry
>
"Quote Ashwin: To know if the board is pre-loaded with USB boot-loader, check if
the default firmware on the board makes it enumerate as HID device. If yes, then
usb-bootloader is not loaded. :("
The board appears as a HID device in device manager so I will require another
method of programming.
I haven't programmed the board, it has original LED confirmation blinks
program running.
I do not yet have JTAG as this is a trial and I would like to be able to do any
means of programming before purchasing Crossworks and JTAG.
Is ISP possible with "Flash Magic" to the Blueboard-lpc1768 as is?
I have downloaded "Flash Magic" however I don't see a schematic for
connections to the microcontroller in the manual.
Ashwin noted the Blueboard-lpc1768-h does not have RS232 to TTL level converter
on board but I may be able to utilize a transistor to invert the signal.
Norm
Reply by Larry Viesse●March 21, 20112011-03-21
--- In l..., Ashwin Athani wrote: >
> > Warm regards
>
> > > Ashwin
> > > NGX Technologies Pvt. Ltd.
> > >
> >
> > Ashwin,
> >
> > Thanks for the clarification of BSL. Nice board. Any designs in work for
> > the NXP Cortex M4? Just a hint:)
> > Good to know that you liked the board.
>
> Yes, we do have plans but right now we are working on M0. We recently
> announced the release of our
>
mx-lpc1768-s
> for our
mx-baseboard.
> This module is similar to mbed pinning and has USB HOST/device, ethernet
> PHY, CAN transciever on-board. Its basically targetted for low volume
> production of mbed based designs.
>
> We are releasing a LPCXpresso pin compatible LPC1343 and LPC1114 add-on
> module for
mx-baseboardvery
> soon.
>
> --
> Warm regards
> Ashwin
> Director, NGX Technologies Pvt. Ltd.
>
I will take a look at your site again later for these.
Also on ISP:
"Having BSL low after reset will get the board into primary (UART) bootloader
mode."
Actually a lot of people have had a problem with understanding the correct
procedure for ISP. I have found that the following instructions seem to work
best.
1. Cycle power on the board.
2. Ground the ISP pin. Do not disconnect until after ISP programming is finished
- step 5.
3. Momentarily ground reset.
4. Use whatever software you have to program the board ie. FlashMagic your IDE
or others.
5. Remove the ground from the ISP pin.
6. Again cycle power on the board. A reset should work but I have had better
luck with this method.
At this point your board should be programmed and your application running.
Thanks,
Larry
Reply by Ashwin Athani●March 21, 20112011-03-21
> Warm regards
> > Ashwin
> > NGX Technologies Pvt. Ltd.
> > Ashwin,
>
> Thanks for the clarification of BSL. Nice board. Any designs in work for
> the NXP Cortex M4? Just a hint:)
>
Good to know that you liked the board.
Yes, we do have plans but right now we are working on M0. We recently
announced the release of our
mx-lpc1768-s
for our
mx-baseboard.
This module is similar to mbed pinning and has USB HOST/device, ethernet
PHY, CAN transciever on-board. Its basically targetted for low volume
production of mbed based designs.
We are releasing a LPCXpresso pin compatible LPC1343 and LPC1114 add-on
module for
mx-baseboardvery
soon.
--- In l..., Ashwin Athani wrote: >
> On Mon, Mar 21, 2011 at 9:32 AM, Larry Viesse wrote:
>
> >
> >
> >
> >
> > --- In l..., "normnet2003" wrote:
> > >
> > > Where would I find the interface to the "LPC1700 secondary USB
> > bootloader" in Crossworks?
> > >
> > > I have Blinky.c compiling and building.
> > >
> > > I have read the bootloader pdf found at:
> > > http://www.nxp.com/documents/application_note/AN10866.pdf
> > >
> > > I have my "Blueboard LPC1768" pulled low on reset on both pins P2.12
and
> > P1.2 to enter secondary bootload mode.
> > > Both pins are pulled low as they both are referenced depending on the
> > source of information.
> > >
> > > The blueboard is preprogrammed for the bootloader and also shows up in
> > device manager.
> > >
> > > Is their an interface in Crossworks for the "LPC1700 secondary USB
> > bootloader"?
> > >
> > >
> > > Norm
> > >
> >
> > Hi Norm,
> >
> > I can't answer your question about Crossworks.
> >
> > Note that the ISP pin is p2.10 not p2.12.
> >
> > I don't have a Blueboard but the schematic shows p2.10 labeled as BSL
(I
> > assume Boot Secondary Loader - not sure - anyone?).
> > BSL stands for Boot Select Line. Having BSL low after reset will get the
> board into primary (UART) bootloader mode.
> >
> > You will have to wait for a response to your question from the Crossworks
> > folks.
> > I am assuming that the requirement is to have application written in
> CrossWorks to work fine with the USB secondary bootloader provided. I might
> be wrong but since the Cortex-M3 has NVIC (Non Vectored Interrupt
> Controller) as a part of the core, it should not be difficult to get
> applications written in CrossWorks or any tool for that matter, to work
with
> the given bootloader. One should modify the start flash address to
> 0x00002000 from 0x00000000. CrossWorks is pretty intuitive tool, so it
> should not be difficult to modify the start flash address.
>
> As far as more details on Blueboard-lpc1768-H and USB secondary bootloader
> is concerned, please refer to this nice blog @
> http://gvworks.blogspot.com/2010/10/usb-bootloader-for-blueboard.html
> Warm regards
> Ashwin
> NGX Technologies Pvt. Ltd.
>
Ashwin,
Thanks for the clarification of BSL. Nice board. Any designs in work for the
NXP Cortex M4? Just a hint:)
Larry
Reply by Ashwin Athani●March 21, 20112011-03-21
On Mon, Mar 21, 2011 at 9:32 AM, Larry Viesse wrote:
> --- In l..., "normnet2003" wrote:
> >
> > Where would I find the interface to the "LPC1700 secondary USB
> bootloader" in Crossworks?
> >
> > I have Blinky.c compiling and building.
> >
> > I have read the bootloader pdf found at:
> > http://www.nxp.com/documents/application_note/AN10866.pdf
> >
> > I have my "Blueboard LPC1768" pulled low on reset on both pins P2.12 and
> P1.2 to enter secondary bootload mode.
> > Both pins are pulled low as they both are referenced depending on the
> source of information.
> >
> > The blueboard is preprogrammed for the bootloader and also shows up in
> device manager.
> >
> > Is their an interface in Crossworks for the "LPC1700 secondary USB
> bootloader"?
> >
> >
> > Norm
> > Hi Norm,
>
> I can't answer your question about Crossworks.
>
> Note that the ISP pin is p2.10 not p2.12.
>
> I don't have a Blueboard but the schematic shows p2.10 labeled as BSL
(I
> assume Boot Secondary Loader - not sure - anyone?).
>
BSL stands for Boot Select Line. Having BSL low after reset will get the
board into primary (UART) bootloader mode. >
> You will have to wait for a response to your question from the Crossworks
> folks.
>
I am assuming that the requirement is to have application written in
CrossWorks to work fine with the USB secondary bootloader provided. I might
be wrong but since the Cortex-M3 has NVIC (Non Vectored Interrupt
Controller) as a part of the core, it should not be difficult to get
applications written in CrossWorks or any tool for that matter, to work with
the given bootloader. One should modify the start flash address to
0x00002000 from 0x00000000. CrossWorks is pretty intuitive tool, so it
should not be difficult to modify the start flash address.
--- In l..., "normnet2003" wrote: >
> Where would I find the interface to the "LPC1700 secondary USB bootloader" in
Crossworks?
>
> I have Blinky.c compiling and building.
>
> I have read the bootloader pdf found at:
> http://www.nxp.com/documents/application_note/AN10866.pdf
>
> I have my "Blueboard LPC1768" pulled low on reset on both pins P2.12 and P1.2
to enter secondary bootload mode.
> Both pins are pulled low as they both are referenced depending on the source
of information.
>
> The blueboard is preprogrammed for the bootloader and also shows up in device
manager.
>
> Is their an interface in Crossworks for the "LPC1700 secondary USB
bootloader"?
> Norm
>
Hi Norm,
I can't answer your question about Crossworks.
Note that the ISP pin is p2.10 not p2.12.
I don't have a Blueboard but the schematic shows p2.10 labeled as BSL (I
assume Boot Secondary Loader - not sure - anyone?).
You will have to wait for a response to your question from the Crossworks
folks.
If all you want to do is use ISP I can help you with that just let me know.
Reply by normnet2003●March 20, 20112011-03-20
Where would I find the interface to the "LPC1700 secondary USB bootloader" in
Crossworks?
I have my "Blueboard LPC1768" pulled low on reset on both pins P2.12 and P1.2 to
enter secondary bootload mode.
Both pins are pulled low as they both are referenced depending on the source of
information.
The blueboard is preprogrammed for the bootloader and also shows up in device
manager.
Is their an interface in Crossworks for the "LPC1700 secondary USB
bootloader"?
Norm