/
Can you provide internal flasher sample code?

Can you provide internal flasher sample code?

Q

We write programs using our own system for programming of the application side of the netX 90. For this purpose we need a description of the programming algorithm or a piece of C-code where we can see how you do the physical programming i.e. which registers inside the netX 90 chip you read and write to.

A

For a register description of the flash memory controller, please see regdef(regdef_netx90_arm_app.html).

In addition, a low-level driver in C is provided as a sample code (which can be downloaded at GitHub):
https://github.com/muhkuh-sys/org.muhkuh.tools-flasher/blob/master/src/internal_flash/internal_flash_maz_v0.c

Q

You refer to the netX 90 Technical Data Reference Guide (Internal Flash) on sample code in Github.

I have downloaded the "internal_flash_maz_v0.c" from the GitHub and I would like to practice flashing internal flash in my application. But I'm still missing: e.g. "Netx_io_areas.h". Where can I find it?

A
Please check out the flasher project on github and also check out the submodules. The submodules contain the missing files. These are not included in the source ZIP of the flasher.
Q
I still can't find the file spi_flash_types.h
A
This file is automatically created during the build process. The file is not checked in.

Related content

netX 90 APP side Flash Memory programming
netX 90 APP side Flash Memory programming
Read with this
How to build an application firmware extension (NAE file)?
How to build an application firmware extension (NAE file)?
More like this
APP-side Programming, Peripherals
APP-side Programming, Peripherals
Read with this
netX 90
netX 90
Read with this
STM32 FMC - netx 90 DPM interface
STM32 FMC - netx 90 DPM interface
Read with this
Application netX 90
Application netX 90
Read with this