Why it can’t output HEX When I compiler the AT89C51 by using

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
whatry109
Posts: 3
Joined: Tue Apr 11, 2017 9:32 am
Contact:

Why it can’t output HEX When I compiler the AT89C51 by using

Post by whatry109 »

Hello~all

I am a newbie in the compiler and I met some troubles now. Can you solve it ?
Maybe my question is simple to you.Please look at the following program:

Code: Select all

Rebuild target 'Target 1'
compiling Serial-test.c...
linking...
LX51 LINKER/LOCATER V4.66.41.0 - SN: T1PMC-JQ522C
COPYRIGHT ARM Germany GmbH 1995 - 2015
@SERIAL~1.LNP "Serial-test.obj" 
TO "Serial-test" 
PRINT(".\Listings\Serial-test.map")
******************************************************************************
* RESTRICTED VERSION WITH 0800H BYTE CODE SIZE LIMIT; USED: 00BBH BYTE ( 9%) *
******************************************************************************
Program Size: data=15.0 xdata=0 const=10 code=321
*** ERROR L257: UNKNOWN
Target not created.
Build Time Elapsed:  00:00:00
I have decoded the software as well as handled the output there.But there always shows wrong.I can’t understand why? I have review the chip I use--AT89C51. I don’t think the kind of chip is wrong.How do you think? Does anyone help me?

Thanks a lot.

User avatar
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:

Re: Why it can’t output HEX When I compiler the AT89C51 by u

Post by Benj »

Hmm, That's not a chip or compiler I am familiar with.

The error message doesn't look all that helpful.

Maybe Flowcode and one of the supported micros would be more suitable for the project?

Good luck :)

Post Reply