EmbeddedRelated.com
The 2024 Embedded Online Conference

Problems with SPI and ADC

Started by cce32 in Rabbit-Semi12 years ago 9 replies

I seem to be struggling with reading an analog voltage from a rheostat with my RCM6700... I've tried a couple of chips but let's discuss the...

I seem to be struggling with reading an analog voltage from a rheostat with my RCM6700... I've tried a couple of chips but let's discuss the simplest the ADC831. I started with the sample that calls for this chip in the header. My current issue is that it outputs correct results intermixed with 0's and 255's. I could filter these out in code but would like to determine the root cause. In ad...


How to create dynamic array in dynamic c ?

Started by "sip...@ymail.com" in Rabbit-Semi12 years ago 9 replies

Hello, How to create dynamic array in dynamic c ? I know in vb use: 1. ReDim (change the size of the array with destroying the existing...

Hello, How to create dynamic array in dynamic c ? I know in vb use: 1. ReDim (change the size of the array with destroying the existing data in the array) 2. ReDim Preserve (change the size of the array without destroying the existing data in the array) Thank You. SHIP4 ------------------------------------


Difference between flashing with DC9.52 and RFU3.02 - Virtual Watchdog

Started by mario_wtbbh in Rabbit-Semi12 years ago 13 replies

Virtual Watchdog Operation. I am observing a difference in a program compiled to an RCM3xxx directly with DC9.52, compared to...

Virtual Watchdog Operation. I am observing a difference in a program compiled to an RCM3xxx directly with DC9.52, compared to compile-to-disk and load via RFU 3.02. (Everything works correctly, including chkWDTO(), with direct DC9.52 compile to target in release mode; no RST 28) For our "real" program: With the RFU load version, I can lock the program in a loop, and it does not res...


UDP vs TCP

Started by seecwriter in Rabbit-Semi12 years ago 4 replies

I'm investigating using UDP instead of TCP for our system communication to reduce network overhead and traffic, and I have a couple of...

I'm investigating using UDP instead of TCP for our system communication to reduce network overhead and traffic, and I have a couple of questions. Am I correct in assuming that UDP is also a stream protocol just as TCP? Assume a UDP socket is opened with -1 as the remote IP, meaning that "all hosts can send datagrams to the socket." Two hosts each send a "datagram" to the socket, and o...


Max buffer size for sspec functions

Started by flanderso11 in Rabbit-Semi12 years ago 1 reply

Hi I want to read a file with sspec_read and save to a buffer with the size 1024. The default maximum seems to be set to 256. Is there any way to...

Hi I want to read a file with sspec_read and save to a buffer with the size 1024. The default maximum seems to be set to 256. Is there any way to change this so I can use a larger buffer size? The same goes for sspec_write but that will most probably be solved with the same solution :) BR, Flanders ------------------------------------


Trying used AES CBC 256-bit encryption mode having problems.

Started by FINETECH in Rabbit-Semi12 years ago

#use AES_CRYPT.LIB #define AES_CBC_BLOCK_SIZE 16 /* //////////////////////////////////////////////////////////////////// // AES CBC 256-bit...

#use AES_CRYPT.LIB #define AES_CBC_BLOCK_SIZE 16 /* //////////////////////////////////////////////////////////////////// // AES CBC 256-bit encryption mode with RCM5600W // For tester: http://www.inconteam.com/software-development/41-encryption/55-aes-test-vectors#aes-cbc-256 //////////////////////////////////////////////////////////////////// Key: 0X603deb1015ca71be2b73aef0857...


PK22xx

Started by hmutlusahin in Rabbit-Semi12 years ago 1 reply

Dear All, We've a PK22xx Controller and SW of PLD component (EPM7032) not works. We've programmers and new IC for exchange but we need related...

Dear All, We've a PK22xx Controller and SW of PLD component (EPM7032) not works. We've programmers and new IC for exchange but we need related SW of this PLD. I would be very glad if somebody can help abut this issue. Best Regards ------------------------------------


RCM6700 with TCPCONFIG 6

Started by TashR in Rabbit-Semi12 years ago 2 replies

I'm trying to port some code from RCM5750 to use with my RCM6700. I am using DC 10.66 This code works fine on RCM5750. I set TCPCONFIG 6 so...

I'm trying to port some code from RCM5750 to use with my RCM6700. I am using DC 10.66 This code works fine on RCM5750. I set TCPCONFIG 6 so that I can set the ifconfig at runtime (I need to read some inputs and read from the user block to determine the correct static IP) In the RCM6700 the program crashes at sock_init. I've set #define DCRTCP_DEBUG and step through to see it crashing in IP....


Strange UCOS behavior

Started by Dave McLaughlin in Rabbit-Semi12 years ago 10 replies

Hi all, I am working with an XG4200 board from X-Graph. This is based on the 4000 processor. I can't seem to get UCOS to work with this and...

Hi all, I am working with an XG4200 board from X-Graph. This is based on the 4000 processor. I can't seem to get UCOS to work with this and it should as it says it is supported. I have reduced the code down to 1 task I create and then this is started when OSStart is called. The application starts OK and goes through some initialising of the XG hardware which it does fine. Break point...


Fragmented TCP/IP packets malformed

Started by seecwriter in Rabbit-Semi12 years ago 5 replies

Using RCM3000, DC 9.21. Is it normal when sending a single character to a socket that the packet length is set to 1, but that there are 5...

Using RCM3000, DC 9.21. Is it normal when sending a single character to a socket that the packet length is set to 1, but that there are 5 additional bytes of data in the packet? Wireshark flags the packet as "malformed", but's it's unclear if this is because of the data length discrepancy or because the port number of 2000 is used, which is apparently a Cisco port number, and wireshark is ...


Ask a Question to the EmbeddedRelated community

To significantly increase your chances of receiving answers, please make sure to:

  1. Use a meaningful title
  2. Express your question clearly and well
  3. Do not use this forum to promote your product, service or business
  4. Write in clear, grammatical, correctly-spelled language
  5. Do not post content that violates a copyright


The 2024 Embedded Online Conference