Main Menu

Recent posts

#41
ARM Cortex / Re: Customized bootloader for ...
Last post by sonam chouhan - August 03, 2021, 10:04:48 PM
Thanks for your kind support.

We are using Keil uvision for compiling and creating the hex file (customized bootloader). We have attached the screenshot for the FlashPrg.c. Could you please let us know, for lpc1833 support in which files, we need to do the modifications in example bootloader for the LPC4337?
#42
ARM Cortex / Re: Customized bootloader for ...
Last post by Andy Ayre - August 03, 2021, 10:56:30 AM
You will need to run your custom bootloader in a debugger, e.g. Keil uVision, to see where it is getting stuck. The error means that Flash Magic is not getting a response.

The example booloader for the LPC4337 uses external SPIFI and that part is the same as the LPC1887 for this purpose, so should be a close enough starting point.

We can also develop this for you as a consulting project - please email us if you want to go down that route.

Andy
#43
General Discussion / Re: Python DLL interface file
Last post by Andy Ayre - August 03, 2021, 10:53:03 AM
For python support you will need to download V11 by going to esacademy.org and entering your activation code. Then choose Tools -> Scripts... to access the Python API.

However if you want to add Flash Magic to your own python application then you will need to access the DLL directly using the Python ctypes library.

Andy
#44
General Discussion / Re: Python DLL interface file
Last post by bassa - August 02, 2021, 11:39:31 PM
Hi Andy,

Thanks for your help, but that is not the file that is missing.
What i am looking for is the Python interface to acces the functions from the DLL's

The interface is described in the manual.
Even the library import is stated in the example code:

Quote
import FlashMagic;
results = FlashMagic.fm_connect()

The referred file (Flashmagic.py) is simply missing in the installer package.
There are no python files at all in the FMPS package....
#45
ARM Cortex / Customized bootloader for flas...
Last post by sonam chouhan - August 02, 2021, 11:35:54 PM
Hi, there,

  Our requirement is to design a customized bootloader for external flash programming. We have tried the example code of Flash Magic\Bootloaders\External Memory\LPCxpresso18S37.
But, that does not work. Could you guide us on this requirement? Please see our below concerns.

1. do any flash magic versions have an example code for the LPC1833 external SPI Flash bootloader?

2. What are changes needed in Flash Magic\Bootloaders\External Memory\LPCxpresso18S37 that can help us?

3. We have changed the descriptor content in FlashPrg.c file as per the LPC1833 memory map, but that also does not work. We got the error as "Bootloader is not executing in RAM".

4. Please find the attachment and help us to provide some details about the requirement.
#46
General Discussion / Re: Python DLL interface file
Last post by Andy Ayre - August 02, 2021, 09:28:04 AM
Depending on which family you are using, it would be something like FlashMagicARMCortex.dll. Andy
#47
General Discussion / Python DLL interface file
Last post by bassa - July 30, 2021, 12:14:23 AM
Hi,

I'm trying to add Flashmagic functionality to my existing python application.

In the FMPSCManual i found a reference to a Python interface. on page 13:

"The Python interface has been written to simply "wrap" the C based functions described in
this manual. The functions are contained in the FlashMagic object, along with all the
constants.
"

Does anyone know where to find this file?
#48
ARM Cortex / Re: LPC1833 external SPI flash...
Last post by Andy Ayre - May 17, 2021, 08:57:53 AM
We include an example for the LPC18S37 that uses SPIFI. See the Bootloaders\External Memory\LPCxpresso18S37 folder in the installation. It may work out of the box for you or it may need modifying.

We can customize and test this for your hardware as part of a consulting project - please contact us for a quote info at esacademy dot com.

Andy
#49
ARM Cortex / LPC1833 external SPI flash boo...
Last post by tony567 - May 16, 2021, 03:01:12 AM
Hi, there,

   I am not sure if this forum is alive or not, but I have no other way to solve my issue which stucks me more than 2 months cause I am totally a hardware designer, know little about coding, but no one can help me for this.

here my issue is we implement 2 second source external SPI flash IC for LPC1833, so the original bootloader for one time FW updating into flash is nolonger workable for new SPI flash ICs, the situation now is the original bootloader source code has lost, and no one know the next step in my company

now I need help from flash magic,

1. does flash magic have example code for LPC1833 external SPI Flash bootloader?

2. could flash magic support to teach us how to modify the bootloader code for new SPI flash?

3. if flash magic don't support to teach how to modify the bootloader code, is there any reference documents for LPC1833 external SPI flash bootloader?

4. could flash maigc support to teach the steps to set the MCUXpresso IDE v11.3.1_5262 and Keil uVision5 for LPC1833 external SPI flash bootloader code compile?
#50
Feature Requests / Re: remember settings, com por...
Last post by Andy Ayre - April 27, 2021, 09:34:57 AM
Thanks for the suggestions - we will look into them. Andy