Author Topic: Programming LPC4370/W25Q80BV  (Read 15256 times)

ray

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
Programming LPC4370/W25Q80BV
« on: November 17, 2016, 02:29:38 pm »
We have designed a board based on the Link2.
It uses LPC4370 processor and external flash W25Q80BV.
We are developing code with LPCXPresso and are currently using it with a link2 board to program it using SWD.
We would like to use Flash Magic to program it, but I see no setting to do this.
It should be like programming a Link2 board using a second Link2 board to connect with SWD.
The main difference is that our board is not DFU bootable.
Is there some way to get Flash Magic to program it?

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2156
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Programming LPC4370/W25Q80BV
« Reply #1 on: November 18, 2016, 02:35:48 pm »
When Flash Magic communicates with the Link2 it first checks if the Flash Magic Link2 firmware is already running. So in theory it should be possible to manually program the Link2 with the firmware. You can find it inside the installation.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

ray

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
Re: Programming LPC4370/W25Q80BV
« Reply #2 on: November 22, 2016, 08:52:48 am »
Thank you for the reply. I don't quite understand what you mean.
I have the Link2 board connected to the PC with USB. Then I have the Link2 board connected with SWD to our custom board.
I have an intel hex file with the code I want to program.
What settings do I choose to be able to program the custom board ( LPC4370 processor and external flash W25Q80BV on SPIFI)?
I have been trying, but so far have been unsuccessful. And I do not see LPC4370 included in any of the settings.
« Last Edit: November 22, 2016, 08:54:41 am by ray »

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2156
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Programming LPC4370/W25Q80BV
« Reply #3 on: November 22, 2016, 09:05:53 am »
OK, this is fairly involved. Support for your external flash is possibly not available out of the box and you may need to customize one of the existing external flash bootloaders.

The first step is to get the Link2 working with Flash Magic. You should be able to read the part signature.

Assuming your Link2 is not DFU bootable: inside the Flash Magic installation you will find the file SWDLINK2.hex. Program this into your Link2. If you then cycle the power then the LED on the Link2 should be flashing.

Next in Flash Magic choose LPC4350 (for now this is close enough) and for the interface choose "SWD over Link 2".

Are you able to read the signature by going to ISP -> Read Device Signature... ?

We need to add the LPC4370 and we will work on that in the next couple of days.

Andy
« Last Edit: November 22, 2016, 09:10:06 am by Andy Ayre »
Embedded Systems Academy, Inc.
support at esacademy dot com

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2156
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Programming LPC4370/W25Q80BV
« Reply #4 on: November 22, 2016, 09:15:47 am »
Once you have that working you will need to customize one of the example external Flash bootloaders. Choose the closest one. They can be found inside the Flash Magic installation and are all Keil uVision projects.

The S25F129P LPC18550/LPC4350 Hitex is possibly the closest. This uses a generic SPIFI library written by NXP. I don't know if your external flash part is supported or not.

You will need to modify this external bootloader project. In FlashPrg.c change DESCRIPTOR_BOOTSTRAP_BOOTROM to DESCRIPTOR_BOOTSTRAP_SWDLINK2. This sets the method for how the secondary (external flash) bootloader gets onto your LPC4370.

Check all the other settings in FlashPrg.c to make sure they make sense. Also change the name and description fields.

Compile.

Place the hex file of this secondary bootloader into the Flash Magic installation inside the Bootloaders folder.

Restart Flash Magic and you can now choose to select your secondary bootloader from the External Flash selection of the device database.

Also you can hire us to do all of this, along with testing, if you don't want to get this involved.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

ray

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
Re: Programming LPC4370/W25Q80BV
« Reply #5 on: November 22, 2016, 09:20:15 am »
Thank you. I will give it a try and let you know if I need help.

HardhopH

  • Jr. Member
  • **
  • Posts: 16
    • Yahoo Instant Messenger - Buy Original Documents of Canada
    • View Profile
    • Email
w w w. buyrealdocuments.cc Our team is a unique producer of quality Original ID cards, drivers license.
We offer only original high-quality Registered Passport, driver's licenses, id card, certificate, Diplomas, stamps and other products for a number of countries like:
UK, Australia, Belgium, India, Canada, Italy, Finland, France, Germany, Netherlands, Portugal, Spain, Sweden, Norway, Malaysia, Poland, United Kingdom. This list is not full.
 
To  the additional information and place the order just visit our website:
 
 
 
w w w. buyrealdocuments.cc  w w w. buyrealdocuments.cc
 
 
>> Contact e-mail:
 
 
General support: support(a)buyrealdocuments.cc
 
 
 
-----------------------------
Keywords:
 
obtain India Registered Passport,
obtain India false Passport,
obtain India novelty Passport,
obtain India Registered driver license,
obtain India false driver license,
obtain India novelty driver license,
obtain India Diplomatic Passport,
purchase Indian Registered Passport,
purchase Indian false Passport,
purchase Indian novelty passport,
purchase Indian Registered driver licenses,
purchase Indian false driver license,
purchase Indian novelty driver license,
purchase Indian Diplomatic Passport
sell India Registered Passport,
sell India false Passport,
sell India novelty Passport,
sell India Registered driver license,
sell India false driver license,
sell India novelty driver license,
Indian Registered Passport,
Indian false Passport,
Indian novelty Passport,
Indian Registered driving license,
Indian false driving license,
Indian novelty driver license,
Indian Diplomatic Passport,
 
Argentine Novelty documents for sale
Australian Novelty documents for sale
Austrian Novelty documents for sale
Belgian Novelty documents for sale
Brazilian Novelty documents for sale
Bulgarian Novelty documents for sale
Canadian Novelty documents for sale
Chinese Novelty documents for sale
Cuban Novelty documents for sale
Cypriot Novelty documents for sale
Czech Novelty documents for sale
Danish Novelty documents for sale
Dominican Republic Novelty documents for sale
Ecuadorian Novelty documents for sale
Estonian Novelty documents for sale
Finnish Novelty documents for sale
French Novelty documents for sale
German Novelty documents for sale
Greek Novelty documents for sale
Hungarian Novelty documents for sale
Icelandic Novelty documents for sale
Indian Novelty documents for sale
Indonesian Novelty documents for sale
Irish Novelty documents for sale
Israeli Novelty documents for sale
Italian Novelty documents for sale
Japanese Novelty documents for sale
Korean Novelty documents for sale
Latvian Novelty documents for sale
Lithuanian Novelty documents for sale
Luxembourgian Novelty documents for sale
Malaysian Novelty documents for sale
Mexican Novelty documents for sale
Monegasque Novelty documents for sale
Dutch Novelty documents for sale
New Zealand Novelty documents for sale
Norwegian Novelty documents for sale
Philippine Novelty documents for sale
Polish Novelty documents for sale
Portuguese Novelty documents for sale
Romanian Novelty documents for sale
Russian Novelty documents for sale
Saudi Arabia Novelty documents for sale
Singapore Novelty documents for sale
Slovak Novelty documents for sale
Slovenian Novelty documents for sale
South African Novelty documents for sale
Spanish Novelty documents for sale
Swedish Novelty documents for sale
Swiss Novelty documents for sale
Taiwan Novelty documents for sale
Thai Novelty documents for sale
Turkish Novelty documents for sale
Emirati Novelty documents for sale
British Novelty documents for sale
American Novelty documents for sale
 
 
To  the additional information and place the order just visit our website:
 
 
 
w w w. buyrealdocuments.cc  w w w. buyrealdocuments.cc
 
 
>> Contact e-mail:
 
 
General support: support(a)buyrealdocuments.cc