Hello Arno Gir:
The document in the next link by colleague Adrian Sanchez might be what you are looking for:
TWR-K70 MSD HOST Bootloader based on AN4368 source code
Regards!,
Jorge Gonzalez
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi,
In waiting answer for the possible Add-on to use NandFlash, I discovers a problem with the current boot.
When I flash with P&E and start with It, bootloader start. But in standalone, nothing start.
I use the Flash build option (Not RAM).
Do you have an Idea?
Hello Arno Gir:
Unfortunately there is not an addition to implement bootloader with a NandFlash, sorry.
As for the issue, maybe it is the project library configuration, check the next thread for the solution:
Regards!
Jorge Gonzalez
Hi
I will read this topic for the Load problem.
For the NandFlash, in fact my need is to copy:
USB\image.s19 -> Internal flash
USB\resource.pbr (PEG resource file) -> External NandFlash.
This is why I asked I exist a standalone Nandflash drivers which work without MQX? (Or a simpliest extract of MQX which use Nandflash drivers?)
Thank
---------------
Edit:
Thank! For the standalone problem! Project librarian option was on "ewl". I set it to "ewl_noio" and all work correctly!
:smileyhappy:
Still Nandflash simple driver problem:smileyblush:
Hi
The uTasker project includes support to load firmware from NAND flash.
However NAND is not a removable source such as a memory stick so there also needs to be a method of copying the firmware there before loading to application space. The uTasker project uses Ethernet web serve as standard loading technique to NAND on the board.
Generally however I don't see the relationship between the two loading techniques.
Regards
Mark
Kinetis:http://www.utasker.com/kinetis.html
uTasker Serial Loader: http://www.utasker.com/docs/uTasker/uTaskerSerialLoader.PDF
Hi
For USB-MSD device or KBOOT USB-HID see http://www.utasker.com/kinetis/TWR-K70F120M.html
Regards
Mark
Hello Arno Gir:
The document in the next link by colleague Adrian Sanchez might be what you are looking for:
TWR-K70 MSD HOST Bootloader based on AN4368 source code
Regards!,
Jorge Gonzalez
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi every body.
I taken code from
TWR-K70 MSD HOST Bootloader based on AN4368 source code
It work fine. I just need to do some correction because the Boot was Max address for a K60 (512K) no for a K70 (1M)
Then I modified following:
#define MAX_FLASH_ADDRESS 0x0007FFFF
to
#define MAX_FLASH_ADDRESS 0x000FFFFF
and in main.c
uint_8 erase_flash(void) { /* Body */ uint_8 error = FALSE; uint_8 i;
[...]
to
uint_8 erase_flash(void) { /* Body */ uint_8 error = FALSE; uint_16 I;
Many thank.