Hi Guy,
I have a Freedom board KL25Z, I have updated the Bootloader and then try to update MSD-DEBUG-FRDM-KL25Z_Pemicro_v114.SDA,
But It doesn't work on this file.
It just only work on MSD-FRDM-KL25Z_Pemicro_v105 (Mass store device function) or DEBUG-APP_Pemicro_v108 (Debug).
have you countered on this issue ? how did you tackle this issue ?
Long for your reply
Thank you,
Nhat Minh,
Just in case, here is how to upload the bootloader (important to follow the steps!):
- power board with reset button pressed
- green LED blinks
- copy BOOTUPDATEAPP_Pemicro_v111.SDA to the board
- unpower the board, power the board again (wait a few seconds) (IMPORTANT: this step easily gets missed!)
- unpower the board
- power the board again with RESET pressed
- copy the MSD-DEBUG-FRDM-KL25Z_Pemicro_v114.SDA to the board
- wait a few seconds
- power the board normally
Now it has the new bootloader plus the MSD+Debug application loaded.
Erich
Hi Erich.
I've a FRDM-KL25Z.
Before to try to update firmware, when I plugged USB I got an MSD device and a CDC Device. I don´t remember the name.
After trying to follow your instructions, I always get a MSD named BOOTLOADER (with or without pushing reset button). And LASTSTAT.TXT always has Programing in it.
And on Codewarrior never appears an OPENSDA device.
Should I do anything on freedom board?
You need to update the bootloader on that board to make it work with your machine.
See for example https://mcuoneclipse.com/2016/08/01/bricking_and_recovering_opensda_boards_in_windows_8_and_10/
and the easiest way is using a Windows 7 machine for this.
Thank you very much.
I'll try it this afternoon and I'll tell you how it goes.
Luckily I've an old machine with windows 7.
Why?
"- copy the MSD-DEBUG-FRDM-KL25Z_Pemicro_v114.SDA to the board
- wait a few seconds
- power the board normally
"
it's should
"- copy the MSD-DEBUG-FRDM-KL25Z_Pemicro_v114.SDA to the board
-unpower the board,
-power the board and wait a few seconds
"
which is right?
hi Erich,
I know I'm late to this game here, but I'm currently having an issue where the green LED shows no activity on my FRDM-KL25Z. I've attempted to open it in Bootloader mode, but to no avail. The Crystal Y2 is working, as intended, the PTD4/SPI0_PCS1/UART0_RTS/FTM0_CH4/EWM_IN pin on the K20 is still high.
Any thoughts?
Hi Peter,
I hope this article helps you:
Erich
Hello all,
I am Manish .I have been working on open-source Embedded technologies on Linux platform since 2 years.Now I have just started to learn about free scale freedom board .But I'm not able to flash (Load) same code take from this community using OpenSDA. Fllowing thing I have done successfully
1.I have installed Drivers of OpenSDA and verified for ttyACM0 port .
2.Went through Boot-loader mode of OpenSDA and found "/media/BOOTLOADER" directory on Linux platform .
3.Compiled sample code given on this community and tried to copy main.srec to "/media/BOOTLOADER"
But expected output not got.
so please guide me
1.How to flash code freedom board (FRDM KL25Z) .
2.How to set Debug Environment and how to debug
3.Is any utilities for flashing and Debugging available..?
I have followed steps mentioned by you 4 times but nothing is happening....!!!!!
Board Name is: FRDM-KL25Z
MicroBoot Kernel Version is: 1.03
Bootloader Version is: 1.08
Application Version is: 0.00
DUID is: 74823937-473181AF-3776B80E-B678E678
EUID is: 6AE3D036-A84B871D-18759A19-948168D6
TUID is: 74823938-473281D3-375DE80C-A46CE37E
TOA is: 86B6E505-DA3E7380-637FDE17-67D7C873
TOA2 is: 86B6E505-AF66D258-16D2E1CF-79ABE60B
SUID is: 86B6E505-6C47961D-37239804-8003EC65
Regards
Manish
Hi Manish Baing,
Download the new Bootloader and OpenSDA from P&E. P&E Microcomputer Systems
To flash the FRDM -KL25Z , just drag and drog the hex file or S19.
To do this you need to update your BOOTLOADER by follow instruction from this link Re: Update OpenSDA for KL25Z
And then follow the instruction in this http://cache.freescale.com/files/32bit/doc/user_guide/OPENSDAUG.pdf?fpsp=1
(read page 7 and 8.) to debug and flash the target by OpenSDA.
Minh,
Thanks nguyennhatminh for your valuable reply I followed all steps u have mentioned But i'm not getting MSD device detected on my PC.so I could not copy paste application program to FRDM 25Z. Why this is happening I 'm no getting..please guide me related to that.
Hi Manish,
what is OS that your computer on ? Win 7 or win 8 if win 8.1 , please see this document http://mcuoneclipse.com/2013/12/14/new-pe-opensda-firmware-v114/
can you update successful the BOOTLOADER ? and OPENSDA ? can you tell the led indication. ?
I also have a KL0525Z, and the window show me " There is a problem with the drive " So I can't update the Bootloader and I can't us this board.
Minh
Hello Nguyen Nhat Minh,
thanks again for your response.I am not able to update BOOTLOADER successfully . But Red LED indication i could see. I am usinh Ubuntu 13.10 64 bit.I got BOOTLOADER as media detected I have copied MSD_***.SDA file into it and again tried to get MSD device But till i'm not getting MSD device detected on my PC.
Hi Manish Baing,
I don't have experiment with Ubuntu.
But I think, the procedure for updating the BOOTLOADER is the same for Ubuntu. I think you copied wrong file you should copy BOOTUPDATEAPP_Pemicro_v111.SDA first, to update BOOTLOADER. And then install MSD-DEBUG-FRDM-KL25Z_Pemicro_v114.SDA, so that you can program and debug target.
I'm talking about the GREEN led indication. :smileysad:. (Read this document to understand about opensda http://cache.freescale.com/files/32bit/doc/user_guide/OPENSDAUG.pdf?&Parent_nodeId=&Parent_pageType=)
here is the procedure
- power board with reset button pressed
- green LED blinks
- copy BOOTUPDATEAPP_Pemicro_v111.SDA to the board
- unpower the board, power the board again (wait a few seconds) (IMPORTANT: this step easily gets missed!)
- unpower the board
- power the board again with RESET pressed
- copy the MSD-DEBUG-FRDM-KL25Z_Pemicro_v114.SDA to the board
- wait a few seconds
- power the board normally
Now it has the new bootloader plus the MSD+Debug application loaded.
Hope it helps.
Nhat Minh.
Hi Erich
Thank you very much for your reply.
I followed your instruction to update Bootloader.
- power board with reset button pressed:
- green LED blinks
- copy BOOTUPDATEAPP_Pemicro_v111.SDA to the board. When I try to copy by drag& drop, also by Command prompt window. The loading file it's seem very low ( Freezed), and then the led signify error (2 seconds off followed by fast on/off 8 times). I wait , and the file be copied.
- unpower the board, power the board again (wait a few seconds) (IMPORTANT: this step easily gets missed!)
- unpower the board
- power the board again with RESET pressed
- copy the MSD-DEBUG-FRDM-KL25Z_Pemicro_v114.SDA to the board
- wait a few seconds
- power the board normally. => I don't see any signify for success such as the name of the board or led on.
And then i try to update the MSD-FRDM-KL25Z_Pemicro_v105.SDA.
=> The board works fine on this mode , I check the information as below:
Board Name is: FREEDOM-KL25Z
MicroBoot Kernel Version is: 0.01
Bootloader Version is: 0.00
Installed Application: PEMicro
FRDM-KL25Z Mass Storage App
Application Version is: 1.05
Your instruction is quite correctly, but I don't understand why this happened.
Minh.
Which operating system are you using? I'm using Windows 7.
Can you copy the file with the DOS shell (instead drag&drop)?
I have seen cases where a virus scanner has causing problems, so can you disable it?
Otherwise, see
FRDM Board not responding? Check your Virus Scanner! | MCU on Eclipse
I have a FRDM-KL02Z board,the bootloader has an error, the led's pattern is 2 seconds off followed by 8 rapid on/off blinks.I can't apply any SDA file on it.how can i flash the memory with JTAG?
Hi Erich
Thank you for your support ,
I used Command Prompt (= DOS Shell ?) to copy the file in the safe mode of window 7.
But It still not responding when copy the new BootLoader. :smileysad:.
I think will update debug , If I wish to use debug.
Thank anyway,
Minh.
Can you share what revision of board you have? (for example, I have a SCH Rev E, it is on the sticker on the backside of the board).
And if you are in bootloader mode, what does it show if you click on the SDA_INFO.HTML?
I have this:
Board Name is: FRDM-KL25Z
MicroBoot Kernel Version is: 1.05
Bootloader Version is: 1.11
Installed Application: PEMicro FRDM-KL25Z Mass Storage/Debug App
Application Version is: 1.14