KL25 FREEDOM : unable to debug with CODEWARRIOR

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

KL25 FREEDOM : unable to debug with CODEWARRIOR

ソリューションへジャンプ
3,538件の閲覧回数
teddychin
Contributor II

Good afternoon

i have a problem with my freedom (or PC installtion) in order to be able to debug.

The only thing which is working is the BOOTLOADER (MSD application) where i can send SREC/S19 FILES.

If not, the OPENSDA LED is blinking with ERROR code each time i try to upload the DEBUG application on BOOTLOADER mode.

Windows isn't recognizing the OPENSDA driver (CDC) driver, despite the fact i downloaded and installed the PEMICRO driver package.

Code warrior isn't able to see the OPENSDA debugger.

To be honnest, i'm a bit lost to enable my board in order in can download program & debug from CODEWARRIOR. Only the MSD application seems to work.

Do you, please, have an idea or a recomandation ?

i tryied many things and nothing is working :

OPEN_SDA.HTM diagnostic :

Board Name is: FRDM-KL25Z
MicroBoot Kernel Version is: 1.03
Bootloader Version is: 1.05
Application Version is: 0.00
DUID is: 74823937-473181D2-37679819-B678E678
EUID is: 6AE3D036-A84B873C-1868BA0E-948168D6
TUID is: 74823938-4732819D-3972E804-A46CDC77
TOA is: 86B6E505-3B0FC1F0-637FDE17-E68F3F8D
TOA2 is: 86B6E505-F1592E41-16D2E1CF-7F457B83
SUID is: 86B6E505-6C47961D-37239804-8003EC65


thank you a lot

ラベル(1)
1 解決策
1,965件の閲覧回数
teddychin
Contributor II

hi Erich

you are right, it seems that with the copy command it is working.

thank you for the hint, i'll continue now ..

thanks

元の投稿で解決策を見る

0 件の賞賛
返信
5 返答(返信)
1,965件の閲覧回数
BlackNight
NXP Employee
NXP Employee

There are two different modes for the board:

- MSD bootloader mode (this is what you have right now): in this mode you can copy S19 files to be programmed

- Debug Mode: this is required to debug. For this you need to load the DEBUG-APP_Pemicro_v102.SDA so it has the PEMicro Debug App shown:

Board Name is: FRDM-KL25Z
MicroBoot Kernel Version is: 1.01
Bootloader Version is: 1.01
Installed Application: PEMicro Debug App
Application Version is: 1.02


See
OpenSDA on the Freedom KL25Z Board | MCU on Eclipse



0 件の賞賛
返信
1,965件の閲覧回数
teddychin
Contributor II

good afternoon Erich

i already tried to copy DEBUG-APP_Pemicro_v102.SDA in the FREEDOM, in the MSD BOOTLOADER MODE.

My problem is the ERROR LED is blink (fast 8 times, pause ...) after the DEBUG-APP_Pemicro_v transfert.

Do you have an idea ?

thank you

best regards

0 件の賞賛
返信
1,965件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hi teddy,

I bet this is an error code, but I'm not aware of a description. Did you

- plug in the board with the reset button pressed

- copy the debug_app*.sda to the board

?

The debug app needs to be loaded in bootloader mode, not in MSD mode.

Apart of that: make sure you copy the file *not* with a file manager extension (like File Commander, etc) on Windows. In doubt, use the DOS shell/cmd 'copy' command.

Erich

1,965件の閲覧回数
lander
Contributor IV

This helped me with my problem!! I'll put this link into the discussion I made last week.

0 件の賞賛
返信
1,966件の閲覧回数
teddychin
Contributor II

hi Erich

you are right, it seems that with the copy command it is working.

thank you for the hint, i'll continue now ..

thanks

0 件の賞賛
返信