Failed to set firmware property.

Discussion on both general simulation and Proteus VSM microcontroller simulation.
Post Reply
fjalex
Labcenter Distributor
Posts: 119
Joined: Thu 2006-03-16 12:19
Location: Cadás - SPAIN
Contact:

Failed to set firmware property.

Post by fjalex »

I have a project for PIC16F1937 based in PICDEM2 EVALUATION BOARD EXAMPLES.
I am using XC-8 compiler version XC8 v2.30.
When I build the project, I can see this message at the end of the proccess: Failed to set firmware property.
The project compiled ok and the simulation work properly.
What does that message mean and how can I correct the project so that it does not exit?
Imagen_12268.jpg
Imagen_12268.jpg (82.87 KiB) Viewed 1203 times
------------------------------
Fº Javier Alexandre Hurlé
HUBOR : Proteus Spanish dealer.
Carretera de Avilés 3, 3ºG
33126 Soto del Barco (Asturias)
Tlf.: 985 87 13 32
Tlf. móvil: 644 508 919
email: fjalexandre@hubor.es
fjalex
Labcenter Distributor
Posts: 119
Joined: Thu 2006-03-16 12:19
Location: Cadás - SPAIN
Contact:

Re: Failed to set firmware property.

Post by fjalex »

Sorry, previous hardcopy image showed cut.

Attached the correct one:
Imagen_12267.jpg
Imagen_12267.jpg (285.27 KiB) Viewed 1200 times
------------------------------
Fº Javier Alexandre Hurlé
HUBOR : Proteus Spanish dealer.
Carretera de Avilés 3, 3ºG
33126 Soto del Barco (Asturias)
Tlf.: 985 87 13 32
Tlf. móvil: 644 508 919
email: fjalexandre@hubor.es
Ettore
Labcenter Staff
Posts: 2931
Joined: Fri 2006-03-03 11:56
Location: Milan
Contact:

Re: Failed to set firmware property.

Post by Ettore »

Javier, you need to attach the full project in order we can see where and why the problem arose. If you don't want or cannot post it in the forum then please send it to support@labcenter.com or PM it to me. Thanks!
Kind regards,
Ettore Arena - Labcenter Electronics.
fjalex
Labcenter Distributor
Posts: 119
Joined: Thu 2006-03-16 12:19
Location: Cadás - SPAIN
Contact:

Re: Failed to set firmware property.

Post by fjalex »

Dear Ettore:

The project is too big for attach in this forum.

I sent you by email.

Thanks for you reply
------------------------------
Fº Javier Alexandre Hurlé
HUBOR : Proteus Spanish dealer.
Carretera de Avilés 3, 3ºG
33126 Soto del Barco (Asturias)
Tlf.: 985 87 13 32
Tlf. móvil: 644 508 919
email: fjalexandre@hubor.es
Ettore
Labcenter Staff
Posts: 2931
Joined: Fri 2006-03-03 11:56
Location: Milan
Contact:

Re: Failed to set firmware property.

Post by Ettore »

Javier,

Thanks. I've got your project but unfortunately the source code is not built in the pdsprj file, so I cannot compile as it says 'code file name not found'. I see code name files in the Projects tree but cannot open them. If you can zip them and PM me I would try to reproduce the issue.

However - albeit I'm not 100% sure - the reason as to why you see that message is because you have your PIC16 as a hierarchy module. You might possibly try to place your PIC directly at child or parent sheet, but not into a hierarchy module.
Kind regards,
Ettore Arena - Labcenter Electronics.
Ettore
Labcenter Staff
Posts: 2931
Joined: Fri 2006-03-03 11:56
Location: Milan
Contact:

Re: Failed to set firmware property.

Post by Ettore »

I confirm that your problem is because of your PIC arrangment into the hierarchy module. I strongly recommend to use subcircuit arrangment rather than hierarchy. Following is a sceeen shot that shows you how to do that. You don't need to pass variables between parent module and child processor.
Same arrangment should be adopted for PICSKT28 and PICSKT18 blocks.
For your convenience, I sent an email with your schematic modified to comply with such the method.
Attachments
Immagine 2024-01-30 133634.jpg
Immagine 2024-01-30 133634.jpg (221.23 KiB) Viewed 1134 times
Kind regards,
Ettore Arena - Labcenter Electronics.
Post Reply