Search found 17 matches
- Fri Jun 20, 2014 11:57 am
- Forum: NetBurner Software
- Topic: CAN Tx Timeout on MOD5441X
- Replies: 4
- Views: 3877
Re: CAN Tx Timeout on MOD5441X
Ok, I made the change to CAN0 (no need to use CAN1 on my side). So with that said, everything is the same but still get the -5 return. I am using a CAN transceiver, so if my wiring is not correct, would this cause a timeout? Just trying to understand from the CAN side of things what causes timeouts....
- Fri Jun 20, 2014 10:41 am
- Forum: NetBurner Software
- Topic: CAN Tx Timeout on MOD5441X
- Replies: 4
- Views: 3877
CAN Tx Timeout on MOD5441X
Hey guys, anyone know what would cause a CAN Tx timeout when calling the SendMessage() function? My CanInit() returns OK and if my channels were either not available or all in use, I would get a different return value from SendMessage(). I have my CAN Rx and Tx connected to a CAN transceiver as well...
- Tue May 20, 2014 3:51 am
- Forum: NetBurner Software
- Topic: MOD54415 StartHTTP()
- Replies: 6
- Views: 5534
Re: MOD54415 StartHTTP()
Honestly, everything that Ridgeglider said is exactly my comments. I used the SimpleTaskCreate() so no return value which is a bummer. Therefore, again as Ridgeglider said, I created a H file that has all the task priority constants including the core priority constants. I comment out all the core c...
- Fri May 16, 2014 8:03 am
- Forum: NetBurner Software
- Topic: MOD54415 StartHTTP()
- Replies: 6
- Views: 5534
Re: MOD54415 StartHTTP()
Problem solved and no surprise, it was on my end :oops: :oops: :oops: . I had setup a task with the same PRIO as the HTTP. Calling StartHTTP() before my other tasked was created caused HTTP to not work. Moving StartHTTP() after of course solved it, and ultimately, I picked a new PRIO for my task and...
- Thu May 15, 2014 12:03 pm
- Forum: NetBurner Software
- Topic: MOD54415 StartHTTP()
- Replies: 6
- Views: 5534
MOD54415 StartHTTP()
Hey guys, I am using the DEV-70 development board and everything is running perfect; utilizing the LED's and 4 UARTS. The LED's blink at various rates defined by the UART traffic commands, however, when I add the function call StartHTTP(), the LED's stop flashing (specifically LED 6,7,8). What could...
- Fri May 02, 2014 4:20 am
- Forum: NetBurner Software
- Topic: MOD54415 Serial Rx Interrupt Question
- Replies: 9
- Views: 6521
Re: MOD54415 Serial Rx Interrupt Question
I guess my misunderstanding was the term "block"....I assumed if I made my serial task a high priority (lower number), and used the read() function, it would block (not let any other tasks perform), until a valid character was received. Since this doesn't appear the case, I agree, I should...
- Tue Apr 29, 2014 10:18 am
- Forum: NetBurner Software
- Topic: MOD54415 Serial Rx Interrupt Question
- Replies: 9
- Views: 6521
Re: MOD54415 Serial Rx Interrupt Question
Ah, I didn't catch that...I thought the read() or readWithTimeout() would block forever until a character is ready. Ok, I will just use the select() as such: while (1) { fd_set readSerial; FD_ZERO(&readSerial); FD_SET( fdSerialPort, &readSerial ); if (select( FD_SETSIZE, &readSerial, (fd...
- Tue Apr 29, 2014 9:36 am
- Forum: NetBurner Software
- Topic: MOD54415 Serial Rx Interrupt Question
- Replies: 9
- Views: 6521
Re: MOD54415 Serial Rx Interrupt Question
My serial task should be the lower priority (user input via a serial message). Higher priority tasks involve reading A/D, monitoring edge interrupts, PWM output, CAN output, etc...I can't have my serial task blocking anything so I thought I would use the ISR and pend on the UART Status Registers (US...
- Tue Apr 29, 2014 8:16 am
- Forum: NetBurner Software
- Topic: MOD54415 Serial Rx Interrupt Question
- Replies: 9
- Views: 6521
MOD54415 Serial Rx Interrupt Question
Hey guys, sounds like a stupid question, but how can I setup my software to receive serial input in a system where I have at least 8-10 other higher priority tasks running? From what I see, I can't use the read() function since it blocks forever. If I use the ReadWithTimeout() it blocks for X tics a...
- Tue Apr 22, 2014 12:47 pm
- Forum: NetBurner Software
- Topic: MOD54415 DEV-70 R1.7 LED's
- Replies: 7
- Views: 6130
Re: MOD54415 DEV-70 R1.7 LED's
Thanks for the insight.....So yes, the WriteLeds() function does work but since the USB now uses J2, pins 17 and 18, LED3 and LED5 can no longer be used as outputs...