I am using a Mod5234 , Uart 1 and using it for a Modbus RS485 ( Half Duplex ) communications.
The Uart_RX , Uart_Tx and Uart_RTS are controlling a SN65HVD1780 chip. I can see the data is been TX but the RX data is low. This is because the RTS Line just remains high.
How do I control the RTS line ...
Search found 7 matches
- Mon Jul 27, 2020 2:08 pm
- Forum: NetBurner Software
- Topic: RS485 Half Duplex
- Replies: 1
- Views: 1851
- Thu Jun 06, 2019 3:57 pm
- Forum: NetBurner Software
- Topic: sscanf crashing Mod5234
- Replies: 2
- Views: 2653
Re: sscanf crashing Mod5234
It could be something related to the RTO task - I am using the console task skeleton to talk to serially on Port 0. From tests I think it could be related to the RTO scheduling as it seems to crash if I use on other functions as well.
Could it be a memory or task scheduling problem.
// Service ...
Could it be a memory or task scheduling problem.
// Service ...
- Wed Jun 05, 2019 12:27 pm
- Forum: NetBurner Software
- Topic: sscanf crashing Mod5234
- Replies: 2
- Views: 2653
sscanf crashing Mod5234
I am having problem with the sscanf function.
It works in debug mode but as soon as I run the program it crashes. I am probably doing something fundamentally wrong.
I am trying to extract the time integers from a string I receive from the serial port 0. The string is in the format "SYNC<hh:mm:ss ...
It works in debug mode but as soon as I run the program it crashes. I am probably doing something fundamentally wrong.
I am trying to extract the time integers from a string I receive from the serial port 0. The string is in the format "SYNC<hh:mm:ss ...
- Mon Jun 18, 2018 3:21 pm
- Forum: NetBurner Software
- Topic: SetIntC - undefined reference
- Replies: 2
- Views: 2595
Re: SetIntC - undefined reference
Thank you
Removing the extern "C" resolved the problem.
extern void SetIntc(int intc, long func, int vector, int level, int prio); // Interrupt Setting
Removing the extern "C" resolved the problem.
extern void SetIntc(int intc, long func, int vector, int level, int prio); // Interrupt Setting
- Fri Jun 15, 2018 6:06 pm
- Forum: NetBurner Software
- Topic: SetIntC - undefined reference
- Replies: 2
- Views: 2595
SetIntC - undefined reference
I keep getting this error …
TCS_Utils\TCS_PIT.o: In function `InitMsPit':
C:\NetBurner\workspace\TCS_V0\Release/..\TCS_Utils/TCS_PIT.cpp:69: undefined reference to `SetIntc'
I have included all the includes so I am wondering why I am getting this error - any help would be appreciated ...
TCS_Utils\TCS_PIT.o: In function `InitMsPit':
C:\NetBurner\workspace\TCS_V0\Release/..\TCS_Utils/TCS_PIT.cpp:69: undefined reference to `SetIntc'
I have included all the includes so I am wondering why I am getting this error - any help would be appreciated ...
- Fri Jun 15, 2018 10:09 am
- Forum: NetBurner Software
- Topic: MOD5234 - Downloading "Timed Out"
- Replies: 2
- Views: 2885
Re: MOD5234 - Downloading "Timed Out"
Thank you - that was the answer
- Mon Jun 04, 2018 11:01 am
- Forum: NetBurner Software
- Topic: MOD5234 - Downloading "Timed Out"
- Replies: 2
- Views: 2885
MOD5234 - Downloading "Timed Out"
I have two MOD5234 boards on a development system.
The one board works fine and I can download a program - the other board , which was working, now will not let me download a program.
I get the "Timed Out" dialog from eclipse. It was working until I downloaded a program, and then from that point ...
The one board works fine and I can download a program - the other board , which was working, now will not let me download a program.
I get the "Timed Out" dialog from eclipse. It was working until I downloaded a program, and then from that point ...