We have been given this error when programming with C for picmicro. i think that it may be related with the following piece of code that we are using. i am using a 16F88 pic microcontroller. am i starting the config register at the right address for pic 16F88?
appreciating any help. 10x
asm
{
list p=PIC16F88
__config H'3FF9' ;XT,!CP,!WDT,!PWRT,BODEN,LPV,!CPD,WRT,!DEBUGGER
}
Assembling...
C:\PROGRA~1\MPLABI~1\MCHIP_~1\MPASMWIN.EXE /aINHX8M /pPIC16F88 /rHEX /w2 /q test.asm
Error[113] C:\PROGRAM FILES\SOURCEBOOST\SAMPLES\C\TEST.ASM 66 : Symbol not previously defined (T0IF)
Error[126] C:\PROGRAM FILES\SOURCEBOOST\SAMPLES\C\TEST.ASM 481 : Argument out of range (not a valid config register address)
Done
Failed
help needed for beginners
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Hello Christian
The chip is configured by using the spanner icon in the course webpage.
You do not need to manually code it yourself.
Also if the TOIF flag is not being recognised then you can either replace the flag name with the bit number or you can define the bit number at the top of your program using #define T0IF 3
PS 3 is just an example you will need to refer to the PICmicro datasheet for the actual T0IF Bit
The chip is configured by using the spanner icon in the course webpage.
You do not need to manually code it yourself.
Also if the TOIF flag is not being recognised then you can either replace the flag name with the bit number or you can define the bit number at the top of your program using #define T0IF 3
PS 3 is just an example you will need to refer to the PICmicro datasheet for the actual T0IF Bit
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Urgent feedback
Ben,
I am clicking on the spanner icon, and when trying to open the new link,
I have a message saying that windows cannot access the specified path file or device. You may not have the appropriate permission to access the item.
I am clicking on the spanner icon, and when trying to open the new link,
I have a message saying that windows cannot access the specified path file or device. You may not have the appropriate permission to access the item.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Hello
See my responce to your other question.
See my responce to your other question.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Hello Christian
We have experience with a similar problem. It is detailed in the support section.
http://matrixmultimedia.com/support/viewtopic.php?t=433
This should tell you everything you need to know to fix the problem.
We have experience with a similar problem. It is detailed in the support section.
http://matrixmultimedia.com/support/viewtopic.php?t=433
This should tell you everything you need to know to fix the problem.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel