Unable to compile to hex file XC8
Posted: Tue Apr 08, 2025 2:53 pm
I have upgraded from Flowcode 8 to Flowcode 10 and installed the tool chain from the Flowcode website (picv2) to compile for Microchip pic 8-bit devices. When I try to compile to hex the compiler (XC8) gives an error message "(902) no chip name specified; use "XC8 - CHIPINFO" to see available chip names". It seems as though the compiler is not being passed or is unable to recognise the $(chip) parameter? Is there a missing file? Is there a problem with XC8?
I have tried uninstalling/reinstalling Flowcode and the tool chain, installing the latest version of XC8 (V3.00) and followed the Wiki on how to change the Global Options Location to point to the newer version. In the Compiler Options I have tried variations on the $(chip) Parameter; forcing uppercase, lowercase and adding $(chipalt) parameter.
In the Project Options I have made sure the target device has been selected correctly (initially pic 16f1829) and the configuration is set correctly, then tried with various targets such as pic 12f675 and pic 16f1619 but the compiler still gives the same error code.
The flowchart compiles successfully to C code and can create and export stand-alone C code.
What am I missing? I have being trying to get it to compile to hex for the last few days and it's driving me crazy ( and my Wife as I'm not paying enough attention to her
Device specification:
Processor AMD Ryzen 7 8845HS w/ Radeon 780M Graphics 3.80 GHz
Installed RAM 32.0 GB (31.3 GB usable)
System type 64-bit operating system, x64-based processor
Windows specification:
Edition Windows 11 Home
Version 24H2
Installed on 01/04/2025
OS build 26100.3476
Experience Windows Feature Experience Pack 1000.26100.54.0
I have tried uninstalling/reinstalling Flowcode and the tool chain, installing the latest version of XC8 (V3.00) and followed the Wiki on how to change the Global Options Location to point to the newer version. In the Compiler Options I have tried variations on the $(chip) Parameter; forcing uppercase, lowercase and adding $(chipalt) parameter.
In the Project Options I have made sure the target device has been selected correctly (initially pic 16f1829) and the configuration is set correctly, then tried with various targets such as pic 12f675 and pic 16f1619 but the compiler still gives the same error code.
The flowchart compiles successfully to C code and can create and export stand-alone C code.
What am I missing? I have being trying to get it to compile to hex for the last few days and it's driving me crazy ( and my Wife as I'm not paying enough attention to her

Device specification:
Processor AMD Ryzen 7 8845HS w/ Radeon 780M Graphics 3.80 GHz
Installed RAM 32.0 GB (31.3 GB usable)
System type 64-bit operating system, x64-based processor
Windows specification:
Edition Windows 11 Home
Version 24H2
Installed on 01/04/2025
OS build 26100.3476
Experience Windows Feature Experience Pack 1000.26100.54.0