10 years, 4 months ago.

Is the flash algorithm the same across different operating systems (mbed, keil, etc.)?

I am working on a port of the FRDM-KE06 and am having a lot of trouble with the flash algorithm in the CMSIS-DAP. I tried using the supplied Keil project to generate a flash algorithm with no luck. I was told that Keil supports the KE06 and that I could take a FLM file, rename it to a .axf file and then run it through the flash_algo_gen.py script to get the flash blob to paste into target_flash.inc. I have noticed that the blob is much smaller than the blob for the KL25. (101 32-bit strings vs 453 32-bit stings).

I am still getting errors(SWD ERROR" when I try to drag and drop a bin file onto the board. It seems to me that my flash algorithm is wrong and that is screwing everything up.

1.) Are the flash blobs the same between Keil and mbed? 2.) Where could I find another flash blob for the KE06? 3.) Am I on the right path here or do I not understand what's going on?

Thanks!

RF

Be the first to answer this question.