Hi, after several tests on the ls1012ardb demo board, debug serial com ttyACM0 suddenly disappeared.
I can see the mass storage but no tty interface.
dmesg log:
[ 5609.803537] usb 1-1: new full-speed USB device number 14 using xhci_hcd
[ 5610.128702] usb 1-1: New USB device found, idVendor=0d28, idProduct=0204
[ 5610.128705] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5610.128706] usb 1-1: Product: MBED CMSIS-DAP
[ 5610.128707] usb 1-1: Manufacturer: MBED
[ 5610.128708] usb 1-1: SerialNumber: 0201E76BF70B526D1306
[ 5610.129698] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 5610.129911] scsi15 : usb-storage 1-1:1.0
[ 5611.137485] scsi 15:0:0:0: Direct-Access MBED microntroller 1.0 PQ: 0 ANSI: 2
[ 5611.138086] sd 15:0:0:0: Attached scsi generic sg4 type 0
[ 5611.140438] sd 15:0:0:0: [sdd] 1072 512-byte logical blocks: (548 kB/536 KiB)
[ 5611.142295] sd 15:0:0:0: [sdd] Write Protect is off
[ 5611.142300] sd 15:0:0:0: [sdd] Mode Sense: 03 00 00 00
[ 5611.143364] sd 15:0:0:0: [sdd] No Caching mode page found
[ 5611.143369] sd 15:0:0:0: [sdd] Assuming drive cache: write through
[ 5611.152350] sdd:
[ 5611.155020] sd 15:0:0:0: [sdd] Attached SCSI removable disk
Solved! Go to Solution.
I find the solution, I reprogram K20 debug mcu like it's explained in this Recovering Serial Connection on FRDM-LS1012A | Dzu's Blog .
I find the solution, I reprogram K20 debug mcu like it's explained in this Recovering Serial Connection on FRDM-LS1012A | Dzu's Blog .
Don't forget to also disable Windows storage services, as is explained in this link:
DAPLink bootloader update | Mbed
or the problem will happen again.
Thank you for your help, I read serial on J24. I can read character at boot, but characters do not mean anything (I test in 115200/8/N/1 and with others speed.
I have the same problem on LS1012AFRDM board. I have an ls1021twr board which works fine.
Is there a solution to upgrade the K20 MCU ?
Hello maumont adrien,
Please check switch setting SW1 [7](CFG_UART_MUX_EN_B).
0- LS1012A UART1 is connected to K22 UART0 for CMSIS DAP debug.
1 - LS1012A UART1 is translated to RS232 levels and is available on 1x3 header (J24).
Please configure SW1 [7] as 1 to use RS232 serial mode.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------