I'm trying to program a Micron (Numonyx) SPI Flash; M25PX80. I've written my own flash spec file (attached) and have tried to load the flash with:
xflash --spi-spec src/m25px80.flash bin/syscontroller.xe
And I get a flash not recognized error, though I've triple checked the ID in my file and I'm pretty sure it's correct. Should this work? Or does is the tool supposed to work this way?
Is there some special string I should put for my flash type in my xn file?
Thanks,
Charles
xflash spi-spec
-
- New User
- Posts: 2
- Joined: Sun Aug 24, 2014 1:41 pm
xflash spi-spec
You do not have the required permissions to view the files attached to this post.
-
- New User
- Posts: 2
- Joined: Sun Aug 24, 2014 1:41 pm
Had a typo in my xn file, it's working now.
Some explanation on how this mechanism works might be useful. I had to grab the source files from tmp as xflash was building them to see that my new spi spec file completely replaces the definitions from libflash.
Cheers,
Charles
Some explanation on how this mechanism works might be useful. I had to grab the source files from tmp as xflash was building them to see that my new spi spec file completely replaces the definitions from libflash.
Cheers,
Charles