Try to use Arduinopic program without success..when I write my .hex to pic it pass ok and Arduinopic shows "Finished"but when I try to read data from pic I get ONLY 49 data words with complete different data.Anyone had this problem? What It could be?
I cannot get it to work. What am I doing wrong?I upload the code into the ArduinoI connect the PIC16F88 to the ArduinoI connect the USBI connect the 12VI hit the reset on the ArduinoI sent the reset command 'r' to the ArduinoI sent the HVP command 's' to the ArduinoI execute:Code: [Select]for i in `cat gateway2.hex`; do echo w$i >> /dev/ttyACM0; sleep 0.01s; echo i >> /dev/ttyACM0; sleep 0.01s; doneNOTE: For every line in the hex code it sends 'w' + <line data> to the Arduino. Then it sleeps for 1ms. Then it sends 'i' to the Arduino to increment the PC. Then it sleeps for 1ms.Every command is acknowledged by the Arduino with 'D'. Still it seems to not be programmed. The 'r' command always returns 00000000. It seems the PC is never incremented.
for i in `cat gateway2.hex`; do echo w$i >> /dev/ttyACM0; sleep 0.01s; echo i >> /dev/ttyACM0; sleep 0.01s; done