Hi!!!,
Has anybody ever used the Modbus Bridge (SPMA037) applications? I have some issues about this application and hope someone can help me!
Here is the thing:
I'm using S2E Module reference design kit(LM3S6432), and I want to add the functionality of converting Modbus TCP packets into Modbus Serial packets on the MDL-S2E.
First, when I load the S2E program, everything is OK, I can use the finder.exe to find the Module's IP address, and use the telnet protocol to communicate with the S2E module.
but when I load the Modbus Bridge(SPMA037) program, the finder.exe can not find the Module's IP address, and I have done all this according to the Application Report provided by TI, and I also asked the FAE of distributor (later asked the TI's FAE), but seems like they have no experience in this application. Following is the Modbus Bridge(SPMA037) application link:
http://www.ti.com/general/docs/lit/getliterature.tsp?literatureNumber=spma037&fileType=pdf
http://www.ti.com/general/docs/lit/getliterature.tsp?literatureNumber=spma037&fileType=zip
Currently I highly doubt that it's the program problem, but it's improbable that TI release the incorrect program, also there's no update for this program since its release.
Hope someone can help me, thanks!
Hi Chao,
One of main difference between Modbus bridge and S2E application is the presence of Ethernet bootloader. In the S2E application, we used to program application at 0x1000 address. In case of Modbus Bridge application, we need to program the application at 0x0 address.
Try to reflash the ModbusBridge binary at 0x0 and try the same.
if any issues, let me know.
Regards
Narayanan
Hi Narayanan,
Thanks for you reply, the problems have been solved.
The Modbus bridge application program do have some bugs, and It's caused by the port1's interruput,
It seems like the port1 interruput has always been actived, so there no time to handle the other things
And if I disable the port1 interrupt, the program goes well. So maybe you have have a test, if it's not this
problem, please let me know,
Regards!
Chao Wang
Thanks for your input. I will check it port1 interrupt status in the software and let you know.