E-design
Advanced Member level 5
I picked up a problem when trying to simulate a design that works 100% with FlowCode for PICs V4. Design uses a common PIC16F628A.
The problem is with some calculations made using floating point calculations in FC and display the result on a LCD. Runs without any problem in FC.
When trying to run this on the Proteus simulator the part that handles the floating point data seems not to work. I am starting to suspect that the simulator model can't handle floating point routines as it limits itself to 8 bit operations for this micro. When you single step in debug mode the variable that gets updated with the floating point value just gets corrupted. It substitutes some random large signed integer value.
Anybody else experienced this type of problem?
The problem is with some calculations made using floating point calculations in FC and display the result on a LCD. Runs without any problem in FC.
When trying to run this on the Proteus simulator the part that handles the floating point data seems not to work. I am starting to suspect that the simulator model can't handle floating point routines as it limits itself to 8 bit operations for this micro. When you single step in debug mode the variable that gets updated with the floating point value just gets corrupted. It substitutes some random large signed integer value.
Anybody else experienced this type of problem?