Shop OBEX P1 Docs P2 Docs Learn Events
Vinculum VNC1L Controller problems with WRF — Parallax Forums

Vinculum VNC1L Controller problems with WRF

darkstardarkstar Posts: 2
edited 2008-04-17 08:39 in Propeller 1
Hello,

I use the VDIP1-module with the VNC1L Controller device. Then i've reflash the firmware v3_62, with:
- 9600 Baud, 8bits, 1 Stopbit, no Parity, no flow control
- ECS, IPH
All commands that i've send them over the RS232 interface are working.
My problem now is that when I try to write into a File some Data that are longer then 15 Bytes, it will not work.


Here my working Example(15 Bytes):

49 50 41 0D                     // IPA 
4F 50 57 20 74 65 73 74 2E 74 78 74 0D        // OPW test.txt
57 52 46 20 0F 0D                // WRF 15
32 6C 6F 63 6F 20 70 61 72 65 6E 74 65 73 21          // Write Data 15 Bytes  
43 4C 46 20 74 65 73 74 2E 74 78 74 0D         //  CLF test.txt




Here my not working Example(16 Bytes):
49 50 41 0D                     // IPA 
4F 50 57 20 74 65 73 74 2E 74 78 74 0D        // OPW test.txt
57 52 46 20 10 0D                // WRF 16
31 32 6C 6F 63 6F 20 70 61 72 65 6E 74 65 73 21          // Write Data 16 Bytes  
43 4C 46 20 74 65 73 74 2E 74 78 74 0D         //  CLF test.txt



I hope you have any Ideas what's going wrong here.

Comments

  • tekochiptekochip Posts: 56
    edited 2008-04-16 13:21
    The IPA mode defaults to decimal, so when you ask the chip to write 0F bytes, it makes the conversion from hex and writes fifteen bytes, because 0F is not a valid decimal number.· In the second example you request to write 10 bytes, and with a default of decimal maybe the chip assumes ten bytes.






    Post Edited (tekochip) : 4/16/2008 1:29:05 PM GMT
  • darkstardarkstar Posts: 2
    edited 2008-04-17 08:39
    thank you, tekochip

    it works now
Sign In or Register to comment.