Parsing to Franklin (Keil) compiler

Discussion Forums discussion Parsing to Franklin (Keil) compiler

This topic contains 0 voices and has 3 replies.

Viewing 4 posts - 1 through 4 (of 4 total)
Author Posts
Author Posts
May 20, 2007 at 6:52 pm #227


I’m using PN2 to edit for Franklin C compiler (in the old days Keil sold it in USA under that name). I would like to post this to help others wanting to do the same.

The outputs from the compiler are:

*** WARNING 206 IN LINE 75 OF PCF8574.C: ‘i2cstop’: missing function-prototype

*** ERROR 141 IN LINE 81 OF PCF8574.C: syntax error near ‘return’

I needed two parsing strings for these two differnt errors for the first line:

IN LINE %l OF %f: ‘

for the second line:

IN LINE %l OF %f:

In the end I created two tools with different parsing strings. If I cannot get a link

I recompile with the second tool.

May 20, 2007 at 7:56 pm #15441


Are you able to work with franklin a51 files like this as well?

I would appreciate any info on how to do it if you can (either here or in my email daat99web at gmail dot com).

Thanks in advanced

David Alon

May 20, 2007 at 8:57 pm #15442


The a51 files will not work in the same way as the assembler does not does not output screen (DOS terms) instead it writes it to a file see samefilename.lst here is an example

14 CLRB EA ;interupts off

*** _________________________________^

*** _________________________________________________^



Note there no filename here I’ve worked out something for you

if you coding a particular file say my.a51 add this to the end of your batch file

type my.lst

The whole lst will appear in PN2 output screen

add a new tool My (catch asm) add this to parse section

LINE #%l,

As long as the a51 file is current in pn2 it will jump there.

Once you have debugged it rem out the statement in you bat file.

rem type my.lst

I have just done and tested it. Thanks for the question.

Were there is a will there’s family (or away)

May 21, 2007 at 9:01 pm #15443


Thanks for your informative reply, I’ll try to implement it later this week (or early next week) on my next a51 class ;)

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.