Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001561
--- Comment #20 from Nicolas Aujoux <[email protected]> 2012-05-29 07:53:11 BST --- Hi Ilija, I have made some tests and in order for the driver to work, I desactivated the "Redboot FIS support" (in Redboot ROM monitor -> Allow RedBoot tu support FLASH programming) and desactivated the "Keep Redboot configuration data in flash" option. When this options are enabled, Redboot try to read a portion of flash (with a memcpy) which leads to a problem. I also try to move the CYG_FLASH_DRIVER into a new kinetis_flash.c file and add it to the file to be compile in the .cdl file. Redboot builds fine with it but when I launch it, it seems that there is no flash init done. I'll keep working on that but if you have any idea of what I am missing ... Nicolas (In reply to comment #19) > Hi Nicolas > > I'm trying to test the flash driver with Redboot but it seem there's some > problem. Instead of Redboot prompt I get some (probably) GDB stuff - I had to > apply the variant patch manually. > > It may be due to configuration or because of recent Kinetis HAL upgrade. > Therefore I would ask you to sync the driver with current CVS and provide ECM > file(s) of your test configuration(s). > > Regarding the code I have one remark. You already have a doubt where to put > CYG_FLASH_DRIVER, I would suggest a new file kinetis_flash.c in the same > directory with kinetis_misc.c (provided that it will be universal for all > Kinetis platforms). > > Ilija. -- Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
