Playing with the ECIO40P that I've finally got back to. I have a simple FC program just to test the LCD, the program seems to compile OK but after sending the code, reports an error 7. What is this?
using a win XP SP3 machine.
Kind regards, J.
Target folder: E:\_TECI_~1
Source name: E:\_TECI_V3_FLOWCODE\LCD Test.fcfx
Title:
Description:
Device: PIC16.33E.ECIO40P16
Generated by: Flowcode v6.1.0.0
Date: Thursday, November 06, 2014 13:54:44
Launching the compiler...
C:\Program Files\Flowcode 6\compilers\pic16\batchfiles\pic16_C30_comp.bat "LCD Test" "E:\_TECI_~1\" "33EP256MU806"
Launching compiler...
E:\_TECI_~1>pic30-gcc -c -mcpu="33EP256MU806" -funsigned-char -fno-short-double -Os -I"C:\PROGRA~1\FLOWCO~1\COMPIL~1\pic16\BATCHF~1\..\support\h" -I"C:\PROGRA~1\FLOWCO~1\COMPIL~1\pic16\BATCHF~1\..\MX_support" -Wall -std=gnu99 "LCD Test".c -o "LCD Test".o
.........
LCD Test.c: In function 'FCD_04071_LCD__PrintString':
LCD Test.c:139: warning: pointer targets in passing argument 1 of 'FCI_GETLENGTH' differ in signedness
LCD Test.c: In function 'FCD_04071_LCD__PrintNumber':
LCD Test.c:182: warning: pointer targets in passing argument 2 of 'FCI_TOSTRING' differ in signedness
LCD Test.c: In function 'FCD_04071_LCD__PrintFormattedNumber':
LCD Test.c:355: warning: pointer targets in passing argument 2 of 'FCI_TOSTRU32' differ in signedness
LCD Test.c:359: warning: pointer targets in passing argument 2 of 'FCI_TOSTRS32' differ in signedness
Compilation successful!
Completed compilation, return = 0
Launching the linker/assembler...
C:\Program Files\Flowcode 6\compilers\pic16\batchfiles\pic16_C30_link.bat "E:\_TECI_~1\LCD Test" 33EP256MU806 33E
E:\_TECI_~1>pic30-gcc -Wl,"E:\_TECI_~1\LCD Test".o,-L"C:\PROGRA~1\FLOWCO~1\COMPIL~1\pic16\BATCHF~1\..\C_tools\lib",--heap=256,--report-mem,--script="C:\PROGRA~1\FLOWCO~1\COMPIL~1\pic16\BATCHF~1\..\Support\33E\gld\p33EP256MU806.gld",-o"E:\_TECI_~1\LCD Test".cof
...........
Program Memory [Origin = 0x200, Length = 0x2a9fe]
section address length (PC units) length (bytes) (dec)
------- ------- ----------------- --------------------
.text 0x200 0x53c 0x7da (2010)
.const 0x73c 0x1a 0x27 (39)
.text 0x756 0xec4 0x1626 (5670)
.dinit 0x161a 0x8 0xc (12)
Total program memory used (bytes): 0x1e33 (7731) 2%
Data Memory [Origin = 0x1000, Length = 0x7000]
section address alignment gaps total length (dec)
------- ------- -------------- -------------------
.nbss 0x1000 0 0x16 (22)
.heap 0x1016 0 0x100 (256)
Total data memory used (bytes): 0x116 (278) <1%
Dynamic Memory Usage
region address maximum length (dec)
------ ------- ---------------------
heap 0x1016 0x100 (256)
stack 0x1116 0x6eea (28394)
Maximum dynamic memory (bytes): 0x6fea (28650)
E:\_TECI_~1>pic30-bin2hex "E:\_TECI_~1\LCD Test".cof
E:\_TECI_~1>pic30-objdump -S "E:\_TECI_~1\LCD Test".cof 1>"E:\_TECI_~1\LCD Test".asm
.......
HEX file creation successful!
Launching the programmer...
C:\Program Files\Flowcode 6\tools\mLoader\mLoader.exe -eciodsp16 "LCD Test.hex"
............
File loaded from...
=> LCD Test.hex
File sending!
.......................
File sent!
C:\Program Files\Flowcode 6\tools\mLoader\mLoader.exe reported error code 7
FINISHED