我的2407烧不了flash
dsp吧
全部回复
仅看楼主
level 1
◎◎🔥1 楼主
以下是CMD文件
-l rts2xx.lib MEMORY{ PAGE 0 :
VECS: origin = 00000h, length = 0007Fh
CODE: origin = 00080h, length = 0FD80h
PAGE 1 :
Regs : origin = 00000h, length = 0005Fh
Ext_Ram : origin = 08000h, length = 07FFFh}
SECTIONS
{
.vectors : > VECS PAGE = 0
.cinit : > CODE PAGE = 0
.text : > CODE PAGE = 0
.switch : > CODE PAGE = 0
.data : > Ext_Ram PAGE = 1
.bss : > Ext_Ram PAGE = 1
.heap : > Ext_Ram PAGE = 1
.stack : > Ext_Ram PAGE = 1
}
感觉好像缺了点什么
做电机双闭环 不知道和ASM文件有没有关系
2013年04月30日 05点04分 1
level 1
◎◎🔥1 楼主
flash烧写到差不多就出现错误
好像和 breakpoint 有关,不知道哪里出问题了
2013年04月30日 05点04分 2
level 1
◎◎🔥1 楼主
以下 ASM文件
;* Copyright (c) 2001-2002, Texas Instruments Incorporated.
;* All rights reserved. Property of Texas Instruments Incorporated.
;* Restricted rights to use, duplicate or disclose this code are
;* granted through contract.
;*
.title "VECTORS.asm"
.ref _c_int0,_nothing,_adint
.sect "vectors"
RESET: B _c_int0
INT1: B _adint
INT2: B _nothing
INT3: B _nothing
INT4: B _nothing
INT5: B _nothing
INT6: B _nothing
;INT7: B _nothing
;INT8: B _nothing
;INT9: B _nothing
;INT10: B _nothing
;INT11: B _nothing
;INT12: B _nothing
;INT13: B _nothing
;INT14: B _nothing
;INT15: B _nothing
;INT16: B _nothing
;TRAP: B _nothing
NMI: B _nothing
;INT19: B _nothing
;INT20: B _nothing
;INT21: B _nothing
;INT23: B _nothing
;INT24: B _nothing
;INT25: B _nothing
;INT26: B _nothing
;INT27: B _nothing
;INT28: B _nothing
;INT29: B _nothing
;INT30: B _nothing
;INT31: B _nothing
.end
2013年04月30日 05点04分 3
1