Hi Benj,
Finally found the problem - I was using an old ECIO programmer. On using mLoader it run first time and code is performing as expected with compiler switches as suggested. Thanks for your help.
Regards
Paul
Search found 12 matches
- Fri Mar 23, 2012 5:53 pm
- Forum: Electronics products
- Topic: ECIO-40p
- Replies: 10
- Views: 12171
- Thu Mar 08, 2012 1:22 pm
- Forum: Electronics products
- Topic: ECIO-40p
- Replies: 10
- Views: 12171
Re: ECIO-40p
Further investigation revealed that the hex file generated by the hitech compiler does not load properly even though the hex output format is inhx032. When read back via the programmer the device is empty ! Eyeballing the hex file and comparing it with a working FCV4 hex file they look similar in fo...
- Mon Mar 05, 2012 5:02 pm
- Forum: Electronics products
- Topic: ECIO-40p
- Replies: 10
- Views: 12171
Re: ECIO-40p
Hi Benj, When I load a FCV4 test programme via the ECIO programmer it loads and only runs when I issue a reset command ( ^T). When the HITECH compiled code is loaded it fails to run after a reset. Looking at the hex file : in the flowcode example the code starts thus 1025 0800 EF26 GOTO 0x84c 1026 0...
- Sun Mar 04, 2012 8:27 pm
- Forum: Electronics products
- Topic: ECIO-40p
- Replies: 10
- Views: 12171
Re: ECIO-40p
Hi Benj,
Soruce and .hex attached.
Regards
Paul
Soruce and .hex attached.
Regards
Paul
- Fri Mar 02, 2012 2:02 pm
- Forum: Electronics products
- Topic: ECIO-40p
- Replies: 10
- Views: 12171
Re: ECIO-40p
Hi Benj, Thanks for your detailed reply, however I still cannot get it to load correctly after setting switches as suggested. I am using picc-18 ver 9.63 in lite mode. On peeking the .hex file code in my application is offset at 0x800 but a bulk of the code is loaded at the top ( high address) end o...
- Thu Mar 01, 2012 4:14 pm
- Forum: Electronics products
- Topic: ECIO-40p
- Replies: 10
- Views: 12171
ECIO-40p
I am using the ECIO programmer in standalone mode and tried to load the hex file compiled under MPLAB V 8.76. The file loads and attempts program the device but fails to complete. The last block fails to load and led remains in a flashing state. It does this also with a pre-compiled code from fCV4. ...
- Tue Oct 12, 2010 1:45 pm
- Forum: Flowcode 4 Bugs
- Topic: ECIO-28 - I2C
- Replies: 3
- Views: 9498
Re: ECIO-28 - I2C
Further to my last post. This test code works fine on on a PIC18F452.
- Tue Oct 12, 2010 1:44 pm
- Forum: Flowcode 4 Bugs
- Topic: ECIO-28 - I2C
- Replies: 3
- Views: 9498
Re: ECIO-28 - I2C
Hi Benj,
Code attached. When blown into ECIO 28 I2C pins on port B just generate a single square pulse. BTW the port D problem goes away if you select software settings on I2C component properties and select bits 1 and 0. This should be the default setting for the 28 pin Pic18F2455.
Regards
Paul
Code attached. When blown into ECIO 28 I2C pins on port B just generate a single square pulse. BTW the port D problem goes away if you select software settings on I2C component properties and select bits 1 and 0. This should be the default setting for the 28 pin Pic18F2455.
Regards
Paul
- Thu Oct 07, 2010 3:22 pm
- Forum: Flowcode 4 Bugs
- Topic: ECIO-28 - I2C
- Replies: 3
- Views: 9498
ECIO-28 - I2C
Hi, I have a compiled a simple programme to access the I2C bus, but the compiler throws an exception C:\teaching\b38DB\display3.c(250:4): error: unknown identifier 'trisd' C:\teaching\b38DB\display3.c(250:4): error: invalid operand 'trisd' C:\teaching\b38DB\display3.c(250:11): error: failed to gener...
- Tue Sep 07, 2010 2:18 pm
- Forum: Flowcode V4
- Topic: C-code and sprintf
- Replies: 6
- Views: 4874
Re: C-code and sprintf
Hi Medelec35, Thanks for the information. My compile target is PIC18F452 That's interesting because sprintf is listed in the boostC compiler manual; that's why I used it. Also when I requested a return value of string pointer the macro ( function ) it constructed in the C listed it as returning void...
- Mon Sep 06, 2010 3:29 pm
- Forum: Flowcode V4
- Topic: C-code and sprintf
- Replies: 6
- Views: 4874
C-code and sprintf
I have a C-code macro thus in FCV4.1 C-code macro #include <stdio.h> FCL_TEMP=sprintf(FCL_TEMP,"%d-150",FCL_NUMB); return(FCL_TEMP); and compiler, when compile to chip is select returns an C:\PROGRA~1\MATRIX~1\FLOWCO~2\BoostC\include\stdio.h(17): error: missing right paren C:\PROGRA~1\MATR...
- Tue Apr 24, 2007 2:28 pm
- Forum: General Programming
- Topic: Version 3 USB Development Board - Not Recognising Chips
- Replies: 3
- Views: 5489
Programming pic18F452
I have the same problem - it won't recognise the chip. I'm using an EB006 development board