关于KEIL5仿真使用的疑惑
缺少对应的仿真模块;更新试一下
顶一下!
KEIL5中使用的是PORT0,这个功能可以参考一下KEIL的帮助文件 写的很详细
这个和芯片也有关系 使用KEIL5调试LPC1768时,可以使用的VTREG为:(通过命令 DIR VTREG)
TRAPS: ulong, value = 0x00000000
TRIGFLT: ulong, value = 0x00000000
STCLK: ulong, value = 0x00000000
XTAL: ulong, value = 0x00B71B00
IRC: ulong, value = 0x003D0900
RTCX: ulong, value = 0x00008000
CCLK: ulong, value = 0x05F5E100
USBCLKdiv: ulong, value = 0x17D78400
SYSCLK: ulong, value = 0x00B71B00
PLLCLK: ulong, value = 0x17D78400
USBCLK: ulong, value = 0x02DC6C00
V3: float, value = 3.29999995
PORT0: ulong, value = 0x7FFF8FFF
PORT1: ulong, value = 0xFFFFC713
PORT2: ulong, value = 0x00003FFF
PORT3: ulong, value = 0x06000000
PORT4: ulong, value = 0x30000000
S0IN: ushort, value = 0xFFFF
S0OUT: ushort, value = 0x0000
S0TIME: uchar, value = 0x01
S0BAUD: ulong, value = 0x00002580
S1IN: ushort, value = 0xFFFF
S1OUT: ushort, value = 0x0000
S1TIME: uchar, value = 0x01
S1BAUD: ulong, value = 0x00002580
S2IN: ushort, value = 0xFFFF
S2OUT: ushort, value = 0x0000
S2TIME: uchar, value = 0x01
S2BAUD: ulong, value = 0x00002580
S3IN: ushort, value = 0xFFFF
S3OUT: ushort, value = 0x0000
S3TIME: uchar, value = 0x01
S3BAUD: ulong, value = 0x00002580
CAN1ID: ulong, value = 0x00000000
CAN1L: uchar, value = 0x00
CAN1B0: uchar, value = 0x00
CAN1B1: uchar, value = 0x00
CAN1B2: uchar, value = 0x00
CAN1B3: uchar, value = 0x00
CAN1B4: uchar, value = 0x00
CAN1B5: uchar, value = 0x00
CAN1B6: uchar, value = 0x00
CAN1B7: uchar, value = 0x00
CAN1IN: ushort, value = 0x0000
CAN1OUT: ushort, value = 0x0000
CAN2ID: ulong, value = 0x00000000
CAN2L: uchar, value = 0x00
CAN2B0: uchar, value = 0x00
CAN2B1: uchar, value = 0x00
CAN2B2: uchar, value = 0x00
CAN2B3: uchar, value = 0x00
CAN2B4: uchar, value = 0x00
CAN2B5: uchar, value = 0x00
CAN2B6: uchar, value = 0x00
CAN2B7: uchar, value = 0x00
CAN2IN: ushort, value = 0x0000
CAN2OUT: ushort, value = 0x0000
SPI_IN: ushort, value = 0x0000
SPI_OUT: ushort, value = 0x0000
SSP0_IN: ushort, value = 0x0000
SSP0_OUT: ushort, value = 0x0000
SSP1_IN: ushort, value = 0x0000
SSP1_OUT: ushort, value = 0x0000
I2C0_IN: ushort, value = 0xFFFF
I2C0_OUT: ushort, value = 0xFFFF
I2C1_IN: ushort, value = 0xFFFF
I2C1_OUT: ushort, value = 0xFFFF
I2C2_IN: ushort, value = 0xFFFF
I2C2_OUT: ushort, value = 0xFFFF
VREF: float, value = 3.29999995
AIN0: float, value = 0
AIN1: float, value = 0
AIN2: float, value = 0
AIN3: float, value = 0
AIN4: float, value = 0
AIN5: float, value = 0
AIN6: float, value = 0
AIN7: float, value = 0
AOUT: float, value = 0
非常感谢!
太感谢的您的帮助了!
我也是同样问题 怎么解决 PORT0 没用啊
*** error 65: access violation at 0x40021000 : no 'write' permission 软件仿真出现这个怎么办 烧到板子里都没问题呢
*** error 65: access violation at 0x40021000 : no 'write' permission 软件仿真出现这个怎么办 烧到板子里都没问题呢 大神能不能指导下 跪求
http://blog.sina.com.cn/s/blog_63d525fd0100u42z.html
就是添加新的map
我的是0x40010000, 0x4002ffff,然后选择read write,最后点Map Range