Hello Everybody
I'm working with my FRDM-K22F to develop my project and everything works fine , but suddenly it stops working . It was connected to my PC and I restart my PC when the boot process of my PC is finished I can't copy my binary file into board . I reset the board by pressing the reset button and then remove its power and the powers it again , then I tried to upgrade the board firmware with the instructions available in "developer.mbed.org" for FRDM-K22F , it tells me there isn't enough memory and it was the last things that the boards tell me . After that every time I connect the board through open sda USB port it didn't do anything , and when I connect the board through SWD with J link the board's small red LED is turned on and the and J link tell's me " Error : Error while identifying Cortex-M core . Info : Found SWD-DP with ID 0x2BA01477 . No device found on SWD . No device found at all. Selecting JTAG as default target interface." . Is there any way that I could solve this ?
已解决! 转到解答。
Hello
I discover recently that when I plug the micro USB cable from my PC to open SDA USB port it doesn't power the board , but when I connect it through the other USB port it powers the board on .
Best regards
Hossein Moghaddam
Hi,
I would recommend to update the FRDM-K22F OpenSDA firmware:
Please download P&E OpenSDA firmware from here.
Segger also provides OpenSDA firmware, please download from here.
Wish it helps.
Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi,
From your description, the D2(red led) always lighting means the K22 chip is in reset state, that's why external J-Link could not connect this device.
Could you check the board circuit, if the SW1 reset button with problem or not.
When board power on, the D2 should be off.
And you also need to check the jumper position:
My board jumper info below:
shunted:
J9 1-2;
J10;
J13;
J15;
Other jumpers keep open.
Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Sorry for the later reply.
Please download the FRDM-K22F schematics from here.
From your above description, the OpenSDA regulator with problem to transfer 5V input to 3.3V output.
Please measure J14 jumper if there with 3.3V voltage.
Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello
I found some new things within my board : 1- when I connect the USB cable to open SDA micro USB I could measure 4.8V but there is no voltage across the voltage regulator but when I connect the USB cable to the USB of K22 there is 4.8V across voltage regulator . 2- I checked pin 27 (RESET pin) and it gave me 1.6V .
Hello
I did what you say but it didn't work , also in FRDM-K22f datasheet it is said to open J10 & J13 to use other debugger except open SDA . I checked reset button , too ,and it works fine. I think there is a problem with the "open SDA" power in my board because when I connect a USB cable to K22F USB port or I connect my J link to the board I could use the output P3V3 and GND provided on the header .
Could you send me the schematic of the FRDM-K22F . I downloaded it from the product page in freescale website but I couldn't open it . If I downloaded the correct file could you tell me how to open it ?
Best regards
Hello Hossein,
Please firstly test the OpenSDA port to debug :
- Copy and past the "JLink_OpenSDA_V2_1.bin" to the bootloader mode of k22.
- Then plug the USB to openSDA again ;
- Create on simple project , debug , check whether it can work well .
BR
Alice