lightbridge firmware PROBLEM (and solution) - firmware version not found by dji assistant tool

Please could someone perhaps help me out with a full NAND dump from a WM301_DM368_V1 WiFi module... Managed to get a kernel on but not booting properly. Thanks in advance!
 

Attachments

  • Kernel Boot in terminal.txt
    9.9 KB · Views: 563
Ok I am stuck.. I think my board it not booting. I'm not getting "boot me boot me boot me" message. Instead, I AM getting a whole string of characters, like arabic/machine language/unintelligible strings in my terminal window right after I connect in the exact proper order the board to the adapter. This goes on for a couple minutes, pausing once in a while and red blinking light once in a while when it seems to be dumping a whole bunch of data. So I've waited until it finished before closing Tera Term. I can connect, disconnect no problem. So then I exit Tera Term and run in command prompt, message I get is:

-----------------------------------------------------
TI Serial Flasher Host Program for DM36x
(C) 2009, Texas Instruments, Inc.
Ver. 1.50
-----------------------------------------------------


Flashing NAND with dm6467_297_ubl.img and u-boot_modifiedByGaucho.img.


Attempting to connect to device COM6...
Press any key to end this program at any time.


Waiting for the DM36x...





Help?
 
Ok I am stuck.. I think my board it not booting. I'm not getting "boot me boot me boot me" message. Instead, I AM getting a whole string of characters, like arabic/machine language/unintelligible strings in my terminal window right after I connect in the exact proper order the board to the adapter. This goes on for a couple minutes, pausing once in a while and red blinking light once in a while when it seems to be dumping a whole bunch of data. So I've waited until it finished before closing Tera Term. I can connect, disconnect no problem. So then I exit Tera Term and run in command prompt, message I get is:

-----------------------------------------------------
TI Serial Flasher Host Program for DM36x
(C) 2009, Texas Instruments, Inc.
Ver. 1.50
-----------------------------------------------------


Flashing NAND with dm6467_297_ubl.img and u-boot_modifiedByGaucho.img.


Attempting to connect to device COM6...
Press any key to end this program at any time.


Waiting for the DM36x...





Help?
Have you set the port up correctly in the terminal you are using? 115200, 8 data bits, 1 stop, no parity...?
 
Have you set the port up correctly in the terminal you are using? 115200, 8 data bits, 1 stop, no parity...?
Yes. I did. I have also tried it at 9600 baud since my port in Device Manager, that was the default.. Tried it at both speeds more than once at each with no change.
I did take it out for a flight today and did alright with no FPV but will be glad to get the video back.
 
When you say in device manager, is that where you are making the changes? The port setup should be done in the terminal app you are using, not device manager...
 
When you say in device manager, is that where you are making the changes? The port setup should be done in the terminal app you are using, not device manager...
No. I adjusted my port settings in my Windows configuration to allow speeds up to 115200+ (setting suggested in instructions).. The default setting was 9600. Then I used 115200 in Tera Term. I figured what point would it be to try and use 115200 if the port is only set at 9600? At any rate.. it made no difference. I tried at 115200, and 9600 just to be sure. Tried 115200 in Tera Term and only the default of 9600 in my Windows Device Manager.
 
Last edited:
No. I adjusted my port settings in my Windows configuration to allow speeds up to 115200+ (setting suggested in instructions).. The default setting was 9600. Then I used 115200 in Tera Term. I figured what point would it be to try and use 115200 if the port is only set at 9600? At any rate.. it made no difference. I tried at 115200, and 9600 just to be sure. Tried 115200 in Tera Term and only the default of 9600 in my Windows Device Manager.
Did you set parity to none, Stop bits to one and data bits to 8? If so, could you maybe upload a high res image of your board as well as your serial adapter? Can also disconnect everything and short the tx and rx pins on your adapter ther send anything in the terminal and make sure it receives it.
 
Is the Wi-Fi module for vision plus, the same as for the vision?
I am not sure to be honest, maybe someone else on here can advise. On a separate note I see you managed to flash a P2V+ and got it working... Would it at all be possible for you to do a full nand dump, maybe 3 times or so and upload it here? I have a lot more corrupt memory locations than just the bootloader. I would like to do a complete reflash. Thanks in advance!
 
I am not sure to be honest, maybe someone else on here can advise. On a separate note I see you managed to flash a P2V+ and got it working... Would it at all be possible for you to do a full nand dump, maybe 3 times or so and upload it here? I have a lot more corrupt memory locations than just the bootloader. I would like to do a complete reflash. Thanks in advance!

This week is full but maby next week, from the drone that holds the nandflash, one doesn't. Is it in TERA that i perform the full dump?
 
This week is full but maby next week, from the drone that holds the nandflash, one doesn't. Is it in TERA that i perform the full dump?
Thanks so much, I really appreciate it! I will get back to you with full instructions on how to do it. Thanks again!!
 
Did you set parity to none, Stop bits to one and data bits to 8? If so, could you maybe upload a high res image of your board as well as your serial adapter? Can also disconnect everything and short the tx and rx pins on your adapter ther send anything in the terminal and make sure it receives it.

Yes, I followed the instructions; parity none, no stop bits, and 8 bit.. These are only photos I have. It's back together and flying blind for now... This was my first soldering job, before I cleaned it up a bit. I trimmed the excess wire before attempting. I tried twice soldering, in case I didn't have good connection.


Thanks for taking an interest.
 
Last edited:
Yes, I followed the instructions; parity none, no stop bits, and 8 bit.. These are only photos I have. It's back together and flying blind for now... This was my first soldering job, before I cleaned it up a bit. I trimmed the excess wire before attempting. I tried twice soldering, in case I didn't have good connection.


Thanks for taking an interest.
I had a look at your pics, can't really see what's going on there, so not really in a position to say if it's correct or not. Just make sure TX on the wifi module goes to RX on the serial adapter and vice versa.
As for your reply about port settings, i see you said "no stop bits", I'm not sure if this was a typo or not but the stop bits needs to be set to ONE. You can see my port settings below.
Tera Port settings.png
 
Please could someone perhaps help me out with a full NAND dump from a WM301_DM368_V1 WiFi module... Managed to get a kernel on but not booting properly. Thanks in advance!

This curiously matches your log:
Flashing firmware on DaVinci media processors · mefistotelis/phantom-firmware-tools Wiki · GitHub

No image for you is there, though. But you may try the one for Ph3, maybe...

EDIT: Also note the UbiFS flashing description - based on it, if you will try to flash the whole NAND, you willdamage UbiFS.
 
Last edited:
This curiously matches your log:
Flashing firmware on DaVinci media processors · mefistotelis/phantom-firmware-tools Wiki · GitHub

No image for you is there, though. But you may try the one for Ph3, maybe...

EDIT: Also note the UbiFS flashing description - based on it, if you will try to flash the whole NAND, you willdamage UbiFS.
Thanks for your help, I have already seen that post though, that is how I managed to get the kernel on. Just curious though, I am a newbee to this file system stuff, Why would a full nand flash damage the UbiFS? Surely a full NAND dump would contain a working UbiFS..? Like making a clone of the NAND...
Thanks again for your help, really appreciate it!
 
Surely a full NAND dump would contain a working UbiFS..? Like making a clone of the NAND...

Ha, that's not how it works. UbiFS is a hardware-assisted file system.
I must say I'm not an expert in this either, but I can confirm what is on the wiki - if you flash UbiFS with just "dd" or "nand write", it will boot - but only once. There are some kind of EC blocks within UbiFS, getting modified on each access. For the modification to be correct, previous values must match something stored outside of the NAND. That's all I know.
 
Ha, that's not how it works. UbiFS is a hardware-assisted file system.
I must say I'm not an expert in this either, but I can confirm what is on the wiki - if you flash UbiFS with just "dd" or "nand write", it will boot - but only once. There are some kind of EC blocks within UbiFS, getting modified on each access. For the modification to be correct, previous values must match something stored outside of the NAND. That's all I know.
Thanks, I do remember reading that now... I'm thinking maybe I will flash it in parts, excluding the UbiFS at first and if that doesn't work, follow the tutorial for flashing it as suggested in that wiki. At the moment I'm trying to find the best way to complete a full dump without any errors in it and doing it as simple as possible. Thinking once i get the method down I'll write a little program to automate the process.
 
  • Like
Reactions: quaddamage
I had a look at your pics, can't really see what's going on there, so not really in a position to say if it's correct or not. Just make sure TX on the wifi module goes to RX on the serial adapter and vice versa.
As for your reply about port settings, i see you said "no stop bits", I'm not sure if this was a typo or not but the stop bits needs to be set to ONE. You can see my port settings below. View attachment 90907
Ah yep, typo.. "8n1"... "n" standing for "no parity." Sorry, was confused when posting. Did it correctly though.
 
Hi all! I was searching this info for a long time and i got some special trouble with Phantom2 V+
Then i got it, it was "no ssid". That time no info i could find. Then i tried to find something, booted only lower plate and then attached upper. Somehow upper , after two times, lost any sings of live and lower becomes flash led red and green both.

I just connected it to com port and see this reapeting error

**************************** pid of Xorg :440 ==441
************************************************************************video_interrupt= 0 ARM Load: 4% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:35 Demo: Encode Display: D1 NTSC Video Codec: H.264 HP Resolution: 640x480 Sound Codec: N/A Sampling Freq: N/A

Can you help me with electrical parts. Can't find info about.
I just found in 30pin plug between plates shotted 5v lines to the ground.
 

Attachments

  • photo_2017-11-24_19-13-04 (3).jpg
    photo_2017-11-24_19-13-04 (3).jpg
    59.6 KB · Views: 580
  • photo_2017-11-24_19-13-04 (2).jpg
    photo_2017-11-24_19-13-04 (2).jpg
    63.2 KB · Views: 459
  • photo_2017-11-24_19-13-04.jpg
    photo_2017-11-24_19-13-04.jpg
    61.3 KB · Views: 523
Last edited:
Hello, I'm new to this forum. I ran into a problem with my Phantom 2 Vision+, in which I received telemetry but no video from the quadcopter. I found this post (DJI Phantom 2 Vision+ Plus Blank Screen Corrupt NAND fix) which seemed to match my symptoms exactly, so I gave it a shot. I soldered the serial board, downloaded the files linked, and was successfully able to flash the NAND as described in both Section 2 and Section 3 of the instructions. At the end of both steps, the terminal reported "Operation Completed Successfully," as described in the instructions. However, when I desoldered the 3.3V line and reconnected, I didn't see either of the expected messages, instead the terminal output the following (it seemed to keep looping). Any thoughts on what went wrong, and/or suggestions for how to resolve? I'd love to fix this this instead of buying a new wifi board given I already have it all apart. Thanks in advance!

******************************killall: encode: no process killed
[ 132.280000] cmemk unregistered
[ 132.330000] irqk unregistered
[ 133.580000] CMEMK module: built on Nov 27 2013 at 14:02:36
[ 133.580000] Reference Linux version 2.6.32
[ 133.590000] File /home/u/dm368/dvsdk_dm368_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
[ 133.610000] allocated heap buffer 0xc7000000 of size 0x2456000
[ 133.630000] heap fallback enabled - will try heap if pool buffer is not available
[ 133.650000] CMEM Range Overlaps Kernel Physical - allowing overlap
[ 133.650000] CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)
[ 133.660000] cmemk initialized
[ 133.690000] IRQK module: built on Nov 27 2013 at 14:02:41
[ 133.710000] Reference Linux version 2.6.32
[ 133.710000] File /home/u/dm368/dvsdk_dm368_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
[ 133.730000] irqk initialized
[ 133.780000] EDMAK module: built on Nov 27 2013 at 14:02:45
[ 133.800000] Reference Linux version 2.6.32
[ 133.800000] File /home/u/dm368/dvsdk_dm368_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
pdi=1695
Encode demo started.
[ 133.920000] davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124
[ 133.930000] davinci_previewer davinci_previewer.2: ipipe_set_preview_config
[ 133.930000] vpfe-capture vpfe-capture: IPIPE Chained
[ 133.940000] vpfe-capture vpfe-capture: Resizer present
detectVide to cr[ 133.950000] vpfe_s_input
eate
fd = hCapture->fd
Composite input selected
pdi=0
[ 133.990000] EVM: switch to tvp5151 cvbs video input
listening.*************************************************************************************** pid of Xorg :-1 ==1647
***************************************Failed to set video input to 0 (Invalid argument)
Cannot111 open captureDevice
Error: Failed to create capture device. Is video input connected?
video.c: semkey1: 852202 semkey1: 852206 shmkey: -1
params->maxFrameRate ==30000
Venc1.c : minNumOutBufs 2, minOutBufSize[0] 115200, minOutBufSize[1] 800
video.c: minNumOutBufs 2
*osdThrFxn: process ID is 1698 ***********
ctrlThrFxn: process ID is 1694 ***********
******************************************************** pid of Xorg :1694 ==1695
***************************************************************************************************************killall: encode: no process killed
[ 137.140000] cmemk unregistered
[ 137.210000] irqk unregistered
[ 138.440000] CMEMK module: built on Nov 27 2013 at 14:02:36
[ 138.460000] Reference Linux version 2.6.32
[ 138.460000] File /home/u/dm368/dvsdk_dm368_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
[ 138.480000] allocated heap buffer 0xc7000000 of size 0x2456000
[ 138.510000] heap fallback enabled - will try heap if pool buffer is not available
[ 138.510000] CMEM Range Overlaps Kernel Physical - allowing overlap
[ 138.530000] CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)
[ 138.530000] cmemk initialized
[ 138.560000] IRQK module: built on Nov 27 2013 at 14:02:41
[ 138.580000] Reference Linux version 2.6.32
[ 138.580000] File /home/u/dm368/dvsdk_dm368_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
[ 138.600000] irqk initialized
[ 138.650000] EDMAK module: built on Nov 27 2013 at 14:02:45
[ 138.670000] Reference Linux version 2.6.32
[ 138.670000] File /home/u/dm368/dvsdk_dm368_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
pdi=1743
Encode demo started.
[ 138.800000] davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124
[ 138.800000] davinci_previewer davinci_previewer.2: ipipe_set_preview_config
[ 138.810000] vpfe-capture vpfe-capture: IPIPE Chained
[ 138.810000] vpfe-capture vpfe-capture: Resizer present
detectVide to cr[ 138.820000] vpfe_s_input
eate
fd = hCapture->fd
Composite input selected
pdi=0
[ 138.860000] EVM: switch to tvp5151 cvbs video input
listening.*************************************************************************************** pid of Xorg :-1 ==1695
**************************************Failed to set video input to 0 (Invalid argument)
Cannot111 open captureDevice
Error: Failed to create capture device. Is video input connected?
video.c: semkey1: 852202 semkey1: 852206 shmkey: -1
params->maxFrameRate ==30000
Venc1.c : minNumOutBufs 2, minOutBufSize[0] 115200, minOutBufSize[1] 800
video.c: minNumOutBufs 2
osdThrFxn: process ID is 1746 ***********
ctrlThrFxn: process ID is 1742 ***********
****************************************************** pid of Xorg :1742 ==1743
**************************************************************************************************************killall: encode: no process killed
[ 142.010000] cmemk unregistered
[ 142.070000] irqk unregistered
[ 143.300000] CMEMK module: built on Nov 27 2013 at 14:02:36
[ 143.320000] Reference Linux version 2.6.32
[ 143.320000] File /home/u/dm368/dvsdk_dm368_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
[ 143.340000] allocated heap buffer 0xc7000000 of size 0x2456000
[ 143.370000] heap fallback enabled - will try heap if pool buffer is not available
[ 143.370000] CMEM Range Overlaps Kernel Physical - allowing overlap
[ 143.390000] CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)
[ 143.390000] cmemk initialized
[ 143.420000] IRQK module: built on Nov 27 2013 at 14:02:41
[ 143.440000] Reference Linux version 2.6.32
[ 143.440000] File /home/u/dm368/dvsdk_dm368_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
[ 143.460000] irqk initialized
[ 143.510000] EDMAK module: built on Nov 27 2013 at 14:02:45
[ 143.530000] Reference Linux version 2.6.32
[ 143.530000] File /home/u/dm368/dvsdk_dm368_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
pdi=1791
Encode demo started.
[ 143.650000] davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124
[ 143.660000] davinci_previewer davinci_previewer.2: ipipe_set_preview_config
[ 143.670000] vpfe-capture vpfe-capture: IPIPE Chained
[ 143.670000] vpfe-capture vpfe-capture: Resizer present
detectVide to cr[ 143.680000] vpfe_s_input
eate
fd = hCapture->fd
Composite input selected
pdi=0
[ 143.720000] EVM: switch to tvp5151 cvbs video input
listening.*************************************************************************************** pid of Xorg :-1 ==1743
***************************************Failed to set video input to 0 (Invalid argument)
Cannot111 open captureDevice
Error: Failed to create capture device. Is video input connected?
video.c: semkey1: 852202 semkey1: 852206 shmkey: -1
params->maxFrameRate ==30000
Venc1.c : minNumOutBufs 2, minOutBufSize[0] 115200, minOutBufSize[1] 800
video.c: minNumOutBufs 2
*osdThrFxn: process ID is 1794 ***********
ctrlThrFxn: process ID is 1790 ***********
******************************************************** pid of Xorg :1790 ==1791
***************************************************************************************************************killall: encode: no process killed
[ 146.870000] cmemk unregistered
[ 146.940000] irqk unregistered
[ 148.170000] CMEMK module: built on Nov 27 2013 at 14:02:36
[ 148.170000] Reference Linux version 2.6.32
[ 148.190000] File /home/u/dm368/dvsdk_dm368_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
[ 148.210000] allocated heap buffer 0xc7000000 of size 0x2456000
[ 148.230000] heap fallback enabled - will try heap if pool buffer is not available
[ 148.240000] CMEM Range Overlaps Kernel Physical - allowing overlap
[ 148.250000] CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)
[ 148.260000] cmemk initialized
[ 148.300000] IRQK module: built on Nov 27 2013 at 14:02:41
[ 148.300000] Reference Linux version 2.6.32
[ 148.310000] File /home/u/dm368/dvsdk_dm368_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
[ 148.330000] irqk initialized
[ 148.370000] EDMAK module: built on Nov 27 2013 at 14:02:45
[ 148.390000] Reference Linux version 2.6.32
[ 148.390000] File /home/u/dm368/dvsdk_dm368_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
pdi=0
pdi=1839
Encode demo started.
[ 148.530000] davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124
[ 148.530000] davinci_previewer davinci_previewer.2: ipipe_set_preview_config
[ 148.540000] vpfe-capture vpfe-capture: IPIPE Chained
[ 148.550000] vpfe-capture vpfe-capture: Resizer present
detectVide to cr[ 148.550000] vpfe_s_input
eate
fd = hCapture->fd
Composite input selected
[ 148.600000] EVM: switch to tvp5151 cvbs video input
listening.*************************************************************************************** pid of Xorg :-1 ==1791
****************************************Failed to set video input to 0 (Invalid argument)
Cannot111 open captureDevice
Error: Failed to create capture device. Is video input connected?
video.c: semkey1: 852202 semkey1: 852206 shmkey: -1
params->maxFrameRate ==30000
Venc1.c : minNumOutBufs 2, minOutBufSize[0] 115200, minOutBufSize[1] 800
video.c: minNumOutBufs 2
*osdThrFxn: process ID is 1842 ***********
ctrlThrFxn: process ID is 1838 ***********
****************************************************** pid of Xorg :1838 ==1839
**************************************************************************************************************killall: encode: no process killed
[ 151.730000] cmemk unregistered
[ 151.780000] irqk unregistered
[ 153.010000] CMEMK module: built on Nov 27 2013 at 14:02:36
[ 153.030000] Reference Linux version 2.6.32
[ 153.030000] File /home/u/dm368/dvsdk_dm368_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
[ 153.050000] allocated heap buffer 0xc7000000 of size 0x2456000
[ 153.080000] heap fallback enabled - will try heap if pool buffer is not available
[ 153.080000] CMEM Range Overlaps Kernel Physical - allowing overlap
[ 153.090000] CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)
[ 153.100000] cmemk initialized
[ 153.130000] IRQK module: built on Nov 27 2013 at 14:02:41
[ 153.130000] Reference Linux version 2.6.32
[ 153.150000] File /home/u/dm368/dvsdk_dm368_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
[ 153.170000] irqk initialized
[ 153.230000] EDMAK module: built on Nov 27 2013 at 14:02:45
[ 153.230000] Reference Linux version 2.6.32
[ 153.240000] File /home/u/dm368/dvsdk_dm368_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
pdi=1887
Encode demo started.
[ 153.360000] davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124
[ 153.360000] davinci_previewer davinci_previewer.2: ipipe_set_preview_config
[ 153.370000] vpfe-capture vpfe-capture: IPIPE Chained
[ 153.370000] vpfe-capture vpfe-capture: Resizer present
detectVide to cr[ 153.380000] vpfe_s_input
eate
fd = hCapture->fd
Composite input selected
pdi=0
[ 153.420000] EVM: switch to tvp5151 cvbs video input
listening.*************************************************************************************** pid of Xorg :-1 ==1839
******
 

Recent Posts

Members online

No members online now.

Forum statistics

Threads
143,094
Messages
1,467,602
Members
104,980
Latest member
ozmtl