Search found 15 matches
- Mon Apr 16, 2012 7:04 pm
- Forum: FLEX (closed)
- Topic: Watchdog driver for FLEX board
- Replies: 1
- Views: 13626
Watchdog driver for FLEX board
Any watchdog driver for FLEX board available?
- Thu Mar 22, 2012 5:39 pm
- Forum: FLEX (closed)
- Topic: Problem using Flex Full board and RS485 module
- Replies: 17
- Views: 51195
Re: Problem using Flex Full board and RS485 module
I figured out why the TX interrupt did not occur. What happened was the following: Once TX INT was disabled "after" TX completion, I needed to write a byte to U2TXREG before re-enabling the TX INT. Another problem I have is mode switch in RS485. Now my master can send bytes to slave periodically and...
- Tue Mar 20, 2012 11:46 pm
- Forum: FLEX (closed)
- Topic: Problem using Flex Full board and RS485 module
- Replies: 17
- Views: 51195
Re: Problem using Flex Full board and RS485 module
I fotgot one thing: The jumpers JP2 and JP3 on the RS485 adapters are set to pos 1-2 (TXEN).
- Tue Mar 20, 2012 11:44 pm
- Forum: FLEX (closed)
- Topic: Problem using Flex Full board and RS485 module
- Replies: 17
- Views: 51195
Re: Problem using Flex Full board and RS485 module
Following the instructions on the Wiki, I was able to send & receive bytes from one set of FLEX + Multibus daughter + RS485 to another set. Once tx of a packet is completed, the sender disabled TX interrupt inside the UART2 TX ISR (please see below for details). However, next time I re-enabled the T...
- Wed May 11, 2011 3:45 pm
- Forum: FLEX (closed)
- Topic: Sample code with CAN communication
- Replies: 8
- Views: 22292
Re: Sample code with CAN communication
Has anyone succeeded to receive a CAN message using the code posted above? It works for "loopback" test, but I am having trouble with a two board setup, one tx and another rx. I can see the traffic on the bus using a CAN bus analyzer but the receiver never gets the messages. It seems no data is writ...
- Thu Apr 21, 2011 5:05 pm
- Forum: FLEX (closed)
- Topic: Sample code with CAN communication
- Replies: 8
- Views: 22292
Re: Sample code with CAN communication
I put jumpers on JP1 of both CAN modules and connected CAN+ & CAN- without any resistors. However, it's not working. Please see below for my code snippet for init, send, and receive. One sender (FLEX Full+Multibus+CAN module) periodically calling Send_ECAN1() while one receiver periodically calling ...
- Wed Apr 20, 2011 6:36 pm
- Forum: FLEX (closed)
- Topic: Sample code with CAN communication
- Replies: 8
- Views: 22292
Re: Sample code with CAN communication
With the source code from the repository, I was able to run a loopback test (JP1 on CAN module) with CAN module on top of Multibus daughter board. I was able to receive the message I sent through the DMA configuration. However, when I tried to test communication between two sets of Flex Full + Multi...
- Fri Apr 15, 2011 8:25 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Project management between RT-Druid and MPLAB
- Replies: 1
- Views: 1837
Project management between RT-Druid and MPLAB
I have several questions on project management with RT-Druid and MPLAB. I started my project by borrowing a sample RT-Druid project. Later, I added more .h and .c file in the project and started to have the following issues. 1. Though RT-Druid recognizes which files belong to the project as I list t...
- Mon Apr 04, 2011 8:32 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: GetResource() / ReleaseResource()
- Replies: 1
- Views: 2106
GetResource() / ReleaseResource()
How can I delcare a resource in EE? I do not see the "DeclareResource()" API in the EE basic reference manual. Can I simply define it, e.g., "ResourceType S1;" ? Can I use GetResource() / ReleaseResource() pair to block the calling task (put it into a waiting state) when the resource is already occu...
- Fri Apr 01, 2011 6:20 pm
- Forum: FLEX (closed)
- Topic: Sample code with CAN communication
- Replies: 8
- Views: 22292
Re: Sample code with CAN communication
Any updates on this topic?
Another question: Does RT_Druid include any CAN device driver for the CAN adapter module on multibus daughter board? Or, are there any CAN drivers available for FLEX platform?
Thank you,
Moon
Another question: Does RT_Druid include any CAN device driver for the CAN adapter module on multibus daughter board? Or, are there any CAN drivers available for FLEX platform?
Thank you,
Moon
- Thu Mar 03, 2011 3:00 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Console demo with RS232 module?
- Replies: 3
- Views: 2722
Re: Console demo with RS232 module?
Yes. I made it work with both UART1 (#define MY_FIRST_SERIAL 0) and UART2 (#define MY_FIRST_SERIAL 1) slots. I used the RS232 module and a hyperterminal at PC. There was a warning about strlen() during compilation but it worked fine.
Thank you,
Moon
Thank you,
Moon
- Wed Mar 02, 2011 7:50 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Console demo with RS232 module?
- Replies: 3
- Views: 2722
Re: Console demo with RS232 module?
I found a similar post on "FLEX" forum.
Moon
Moon
- Wed Mar 02, 2011 7:34 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Console demo with RS232 module?
- Replies: 3
- Views: 2722
Console demo with RS232 module?
Hi, I am looking for a way to print out messages from FLEX board on a console on a Windows PC. I found a demo program using console_descriptor_t at RT-Druid C/C++ Project -> pic30 -> FLEX Demo Board -> Console demo. My question is as follows: 1. Do I need a RS232 module to use this program for such ...
- Fri Feb 04, 2011 11:04 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Path configuration
- Replies: 2
- Views: 2258
Re: Path configuration
It works well with 1.5.1.
Thank you.
Thank you.
- Fri Feb 04, 2011 9:41 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Path configuration
- Replies: 2
- Views: 2258
Path configuration
When I configure the paths for Gcc and Asm in PIC30 Configurator with "C:\Program Files\Microchip\MPLAB C30" and "C:\Program Files\Microchip\MPLAB ASM30 Suite" (where the Microchip C compiler is installed), project build for a demo project (Multistack and semaphore demo) failed with the following me...