Part Number: DLPLIGHTCRAFTER
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: DLPLIGHTCRAFTER
Karl,
We had that question several times in the past, so we actually created a custom GUI call for it in our Lightcrafter product, so my memory is a bit sketch on this as it has been a few years.
You will need to access the UART port using the serial port on the System board.
On the linux file system, you should find a program called setip. I believe it is under /data/bin
Go to that directory ( cd /data/bin), then execute the program ./setip aa bb cc dd
where your new ip address is aa:bb:cc:dd
Then reboot for the new IP address to take effect. If you have fixed your system IP address on your PC RNDIS driver, you will have update that accordingly.
Please have an SDCARD version of the image file in case this doesn't work right away and you need to reflash your system.
Also, you may have to kill the a process called cmdh in order for files to be updated properly. (ps -uax | grep cmdh to find the process id). kill -9 <ID> to kill it.
I'm doing this from memory, so I may not have correctly stated everything correctly. I hope this points you in the right direction, Paul can add in more perhaps. Good luck.
Hi Adam,
unfortunately, I couldn't find the setip file. And the DVSDK I installed (version DVSDK 4_02_00_06) doesn't have data folder in it.
But I found another thread, probably that's the one having a similar issue where changes in the code needed to be done:
In that thread, Sanjeev suggests:
<<...
cmdh and setip are userspace applications talking with the PC side software. We sometime back released the DVSDK reference software on the web www.ti.com/dlplcr_dm365_dvsdk install and follow the readme instructions to build and run DVSDK.
Once you install this package you will find the cmdh app is build using TI LCR_API library .so file. There is header file with it LCR_API.h. So you can use these for your own application development.
FYI, With LCr DVSDK the LCR_API.h is located in this path – <linux_drive> /ti-dvsdk_dm365-evm_4_02_00_06/example-applications/lcr/src/LCR_API.h in the same directory there will be a liblcr.so which is the library.
...>>
I downloaded and installed DVSDK reference software in the above link. This version, when installed, creates a "DLP LightCrafter DM365 DVSDK v4.0" folder and not "ti-dvsdk_dm365-evm_4_02_00_06".
But indeed it has the setip program and the LCR_API library in "example-applications":
To clarify, the original DVSDK version that I installed was this one:
http://www.ti.com/dlplcr_dm365_dvsdk_v5 (Active)
And the one Sanjeev suggested is this one:
http://www.ti.com/dlplcr_dm365_dvsdk (Not recommended)
You can see it on this screenshot from http://www.ti.com/tool/dlplightcrafter
So now I am a little confused here. The original DVSDK I installed, it doesn't seem to have the setip program. And the folder structure/content of these 2 are very different.
So should I use that older version? Or maybe move the required files to the respective folders of ti-dvsdk_dm365-evm_4_02_00_06 and try to rebuild again?
Going back to your suggestion with using the setip, how do you think I can proceed?
Thanks!
Karl
Karl,
I don't have a specific idea and don't recall that much about the DVDSK. I'll have to let Paul at TI take this.
Hi Paul,
do you have any suggestions that could help solve this issue?
I have the setip file, I could try changing the IP address from there.
But because it's not in currect build of DVSDK, I am not sure if this will work, or it may corrupt the DM365 firmware.
Any help will be appreciated!
Karl
Karl,
Use the DVSDK v5 and copy the setip.c and required files into the respective folders and rebuild. Looks like these were left out of the v5 DVSDK.
I believe the IP address is defined in the changes/rootfs/my/etc/network/interfaces file. But the best way to change it is using setip through UART.
Hi Pedro,
Thanks for your suggestion. I have copied the whole "Changes" folder from older build to current one called ti-dvsdk_dm365-
evm_4_02_00_06. This Changes folder includes among other things, the setip executable in bin folder.
Then I have rebuild the DVSDK according to manual:
In folder of DVSDK (home/"username"/dvsdk_dm365-evm_4_02_00_06 I ran:
make clean
make all
make components
After that I connect vial telnet to DM365 to run setip, but when I enter "setip 10.10.10.2" , I get "Segmentation Error".
I thought it may be that the format should be different, so i tried others like "setip 10 10 10 2" etc, but I think but it looks like the format of address should use dots.
Do you know what this segmentation error means?
And also, if after the issue with setip is solved, how can I build my custom *.dat image with the changes such as new default address to load it from SD card instead of the one provided by TI (lcr_dm365_v5_sd.dat)?
Thanks
Karl