初音之恋 发表于 2016-7-29 13:58:53

关于NEC 扩展RAM在PM+中的写法问题?

#pragma access
#include "macrodriver.h"
#include "System.h"
/* Start user code for include definition. Do not edit comment generated here */
/* End user code for include definition. Do not edit comment generated here */
#include "user_define.h"

#pragma section @@DATA E000H
int a1;
int a2;
int a3;

voidmain( void )
{
        /* Start user code. Do not edit comment generated here */
        while (1)
        {
                ;
        }
        /* End user code. Do not edit comment generated here */
}


程序

"C:\Program Files (x86)\NEC Electronics Tools\CC78K0\V4.00\bin\cc78k0.exe" -cF054780 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff main.c
main.c(8) : CC78K0 warning W0837: Output assembler source file , not object file
Compilation complete,    0 error(s) and    1 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0\V4.00\bin\cc78k0.exe" -cF054780 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff systeminit.c
Compilation complete,    0 error(s) and    0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0\V4.01\bin\ra78k0.exe" -cF054780 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoffoption.asm
Assembly complete,   0 error(s) and   0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0\V4.00\bin\cc78k0.exe" -cF054780 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff System.c
Compilation complete,    0 error(s) and    0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\CC78K0\V4.00\bin\cc78k0.exe" -cF054780 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff System_user.c
Compilation complete,    0 error(s) and    0 warning(s) found.
"C:\Program Files (x86)\NEC Electronics Tools\RA78K0\V4.01\bin\lk78k0.exe" -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -oa.lmf "C:\Program Files (x86)\NEC Electronics Tools\CC78K0\V4.00\lib78k0\s0l.rel"-go298 -pa.map -bcl0.lib -bcl0f.lib -i"C:\Program Files (x86)\NEC Electronics Tools\CC78K0\V4.00\lib78k0" -dlk.dr -smain.rel systeminit.rel option.rel System.rel System_user.rel

78K0 Linker V4.01[ 2 Nov 2007]
   Copyright(C) NEC Electronics Corporation 1990,2007

RA78K0 error F3006: File not found 'main.rel'
Program Aborted.

Build Total error(s) : 1Total warning(s) : 1
报错

初音之恋 发表于 2016-7-29 14:01:55

芯片用的是 UPD78F0547
页: [1]
查看完整版本: 关于NEC 扩展RAM在PM+中的写法问题?