mirror of
https://github.com/armfly/H7-TOOL_STM32H7_App.git
synced 2024-08-09 10:05:34 +08:00
commit
74424930b9
44
CHANGELOG
44
CHANGELOG
@ -1,4 +1,48 @@
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
2020-09-10 V1.30 【重大更新】
|
||||
1. 完善脱机烧录功能 (需PC软件升级到V0.7以上,之前的烧录lua脚本需要用PC软件重新生成)
|
||||
- 增加支持GD32、新唐部分系列
|
||||
- 完善滚码、UID加密功能
|
||||
- 增加RS485数码管显示烧录状态。
|
||||
- 烧录器LCD背光控制策略改进
|
||||
- 连续烧录模式,如果背光关闭后再次插入目标板烧录时自动开启背光。
|
||||
- 烧录开始时屏蔽背光控制,烧录结束后恢复背光控制,避免烧录时间大于1分钟中途关闭背光
|
||||
- 校验逻辑增加分支: 如果FLM中有Verify则使用它(实测新唐的不行)
|
||||
- 函数增加形式参数 error_t target_flash_init(uint32_t flash_start, unsigned long clk, unsigned long fnc)
|
||||
- 完善 h7_Read_OptionBytes 函数,增加新唐片子的支持
|
||||
- 脱机烧录复位选项取消。先尝试软件复位模式,失败后使用硬件模式
|
||||
- void lua_do(char *buf) 允许嵌套重入。 烧录脚本需要用到该功能
|
||||
- 64H下载lua程序的帧格式调整,增加2字节子功能码,用于连续文件下载
|
||||
- 调整全部lua脚本,增加复位期间关闭看门狗的功能
|
||||
|
||||
2. 解决脱机烧录BUG
|
||||
- 多路烧录,如果扇区擦除超时失败,则不能提示是哪一路失败
|
||||
- 查空函数判断不严谨,target_flash_check_blank(uint32_t addr, uint32_t size)
|
||||
- 0和1表示空和不空,没有通信失败的分支
|
||||
- swd_flash_syscall_exec_ex() 修改返回值类型,可以识别出通信失败
|
||||
- 多路烧录。写入1K的小文件(小于16K)时校验失败,读回校验bug
|
||||
- 多路模式选择读回模式校验失败,CRC校验OK。
|
||||
- 可能导致死循环的BUG, uint8_t *MUL_swd_transfer_retry(uint32_t req, uint32_t *data)
|
||||
bug , uint8_t err_cout[4]; 应该为uint16_t类型。
|
||||
|
||||
3.其他
|
||||
- lua_if_uart.c 取消通信失败的调试print语句
|
||||
- 在主界面显示APP版本
|
||||
- 调整内存分配,将ADC缓冲区合计(128K + 64K)迁移到其他内存块。扩大堆空间,用于运行更大的lua程序.
|
||||
/* 0x38000000 64KB */
|
||||
uint16_t *aADCH1ConvertedData = (uint16_t *)0x38000000;
|
||||
uint16_t *aADCH2ConvertedData = (uint16_t *)(0x38000000 + 32 * 1024);
|
||||
|
||||
/* 0x20000000 128KB */
|
||||
float *g_Ch1WaveBuf = (float *)0x20000000;
|
||||
float *g_Ch2WaveBuf = (float *)(0x20000000 + 64 * 1024);
|
||||
- DAC波形发生器,低于30Hz频率异常,已修正,下限可以到1Hz.
|
||||
- 删除doc文件夹下的emmc磁盘文件。跟随PC软件发布.
|
||||
|
||||
4.遗留问题
|
||||
- 示波器功能还存在缺陷,普通触发模式显示波形断裂.争取下个版本解决.
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
2020-06-02 V1.21
|
||||
1. 完善脱机烧录功能
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,586 +0,0 @@
|
||||
--F01=<3D>Զ<EFBFBD>У,test_calib()
|
||||
--F02=---УTVCC---,calib_tvcc_volt()
|
||||
--F03=---УDAC<41><43>ѹ<EFBFBD>͵<EFBFBD><CDB5><EFBFBD>---,calib_dac()
|
||||
--F04=---Уʾ<D7BC><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ---,calib_ch1ch2()
|
||||
--F05=---УTVCC<43><43><EFBFBD><EFBFBD><EFBFBD>߲<CDB8><DFB2><EFBFBD><EFBFBD><EFBFBD>,calib_curr()
|
||||
--F06=---УNTC---,calib_ntc()
|
||||
|
||||
beep()
|
||||
print("<EFBFBD>ű<EFBFBD><EFBFBD>汾 V1.04 2019-11-28")
|
||||
|
||||
local str --<2D><><EFBFBD>ڴ<EFBFBD>ӡ
|
||||
|
||||
--<2D><><EFBFBD><EFBFBD>2<EFBFBD>㷽<EFBFBD><E3B7BD><EFBFBD><EFBFBD>ֵ
|
||||
function cacul(x1,y1,x2,y2,x)
|
||||
local ff
|
||||
|
||||
if (x2 == x1) then
|
||||
ff = 0
|
||||
else
|
||||
ff = y1 + ((y2 - y1) * (x - x1)) / (x2 - x1);
|
||||
end
|
||||
return ff
|
||||
end
|
||||
|
||||
--<2D><><EFBFBD><EFBFBD>0-7ͨ<37><CDA8><EFBFBD>ĵ<EFBFBD>ѹ V
|
||||
function ad7606_volt(ch)
|
||||
local X1 = {39, 39, 39, 36, 73, 74, 73, 71}
|
||||
local Y1 = {0, 0, 0, 0, 0, 0, 0, 0}
|
||||
local X2 = {29417, 29362, 29520, 29396, 29407, 29407, 29407, 29407}
|
||||
local Y2 = {8.999, 8.999, 8.999, 8.999, 8.999, 8.999, 8.999, 8.999}
|
||||
local adc
|
||||
local volt
|
||||
|
||||
adc = ex_adc(ch)
|
||||
volt = cacul(X1[ch+1], Y1[ch+1], X2[ch+1], Y2[ch+1], adc)
|
||||
return volt
|
||||
end
|
||||
|
||||
--<2D><><EFBFBD><EFBFBD>0-7ͨ<37><CDA8><EFBFBD>ĵ<EFBFBD><C4B5><EFBFBD> mA
|
||||
function ad7606_curr(ch)
|
||||
local X1 = {75, 75, 74, 72, 73, 74, 73, 71}
|
||||
local Y1 = {0, 0, 0, 0, 0, 0, 0, 0}
|
||||
local X2 = {29417, 29362, 29520, 29396, 29407, 29812, 31786, 29017}
|
||||
local Y2 = {8.999, 8.999, 8.999, 8.999, 8.999, 454.64, 19.482, 88.900}
|
||||
local adc
|
||||
local curr
|
||||
|
||||
adc = ex_adc(ch)
|
||||
curr = cacul(X1[ch+1], Y1[ch+1], X2[ch+1], Y2[ch+1], adc)
|
||||
return curr
|
||||
end
|
||||
|
||||
--<2D><><EFBFBD><EFBFBD>DAC8563<36><33><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD>λV, <20><><EFBFBD><EFBFBD>
|
||||
function dac8563_volt(volt)
|
||||
local X1 = 1000
|
||||
local Y1 = -9.8551
|
||||
local X2 = 32767
|
||||
local Y2 = -0.003030
|
||||
local X3 = 64000
|
||||
local Y3 = 9.6802
|
||||
local dac
|
||||
|
||||
if (volt < Y2) then
|
||||
dac = cacul(Y1,X1,Y2,X2,volt)
|
||||
else
|
||||
dac = cacul(Y2,X2,Y3,X3,volt)
|
||||
end
|
||||
ex_dac(0, dac)
|
||||
end
|
||||
|
||||
--<2D><><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ADC<44>ɼ<EFBFBD><C9BC><EFBFBD><EFBFBD><EFBFBD>ͨ<EFBFBD><CDA8>ģʽ
|
||||
function start_dso(void)
|
||||
print("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ٲ<EFBFBD><EFBFBD><EFBFBD>ģʽ")
|
||||
write_reg16(0x01FF, 2) --<2D><>ͨ<EFBFBD><CDA8><EFBFBD><EFBFBD><EFBFBD>ٲ<EFBFBD><D9B2><EFBFBD>
|
||||
write_reg16(0x0200, 1) -- CH1ѡDC<44><43><EFBFBD><EFBFBD>
|
||||
write_reg16(0x0201, 1) -- CH2ѡDC<44><43><EFBFBD><EFBFBD>
|
||||
write_reg16(0x0202, 0) -- CH1ͨ<31><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>0<EFBFBD><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŵ<EFBFBD>
|
||||
write_reg16(0x0203, 0) -- CH2ͨ<32><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>0<EFBFBD><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŵ<EFBFBD>
|
||||
write_reg16(0x0204, 0) -- CH1ͨ<31><CDA8>ֱ<EFBFBD><D6B1>ƫֵ<C6AB><D6B5>δ<EFBFBD><CEB4>
|
||||
write_reg16(0x0205, 0) -- CH2ͨ<32><CDA8>ֱ<EFBFBD><D6B1>ƫֵ<C6AB><D6B5>δ<EFBFBD><CEB4>
|
||||
write_reg16(0x0206, 12) --<2D><><EFBFBD><EFBFBD>Ƶ<EFBFBD><C6B5>1M
|
||||
write_reg16(0x0207, 0) --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1K
|
||||
write_reg16(0x0208, 0) --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƽ
|
||||
write_reg16(0x0209, 50) --<2D><><EFBFBD><EFBFBD>λ<EFBFBD><CEBB>
|
||||
write_reg16(0x020A, 0) --<2D><><EFBFBD><EFBFBD>ģʽ 0=<3D>Զ<EFBFBD>
|
||||
write_reg16(0x020B, 0) --<2D><><EFBFBD><EFBFBD>ͨ<EFBFBD><CDA8>CH1
|
||||
write_reg16(0x020C, 0) --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
write_reg16(0x020D, 2) --ͨ<><CDA8>ʹ<EFBFBD><CAB9>
|
||||
write_reg16(0x020E, 1) --<2D><>ʼ<EFBFBD>ɼ<EFBFBD>
|
||||
end
|
||||
|
||||
|
||||
--<2D><><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>ֵ<EFBFBD>Ƿ<EFBFBD><C7B7>ڹ<EFBFBD><DAB9>Χ 1<><31>ʾerr 0<><30>ʾok
|
||||
function check_err(data, mid, diff)
|
||||
local re
|
||||
local dd
|
||||
|
||||
if (mid < 0) then
|
||||
dd = -mid * diff
|
||||
else
|
||||
dd = mid * diff
|
||||
end
|
||||
|
||||
if ((data >= mid - dd) and (data <= mid + dd)) then
|
||||
re = 0
|
||||
else
|
||||
re = 1
|
||||
end
|
||||
return re
|
||||
end
|
||||
|
||||
--<2D>ر<EFBFBD><D8B1><EFBFBD><EFBFBD>еļ̵<C4BC><CCB5><EFBFBD>
|
||||
function colse_all_y(void)
|
||||
return ch
|
||||
end
|
||||
|
||||
--<2D>ɹ<EFBFBD><C9B9><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD>ʧ<EFBFBD>ܽ<EFBFBD><DCBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
function disp_result(err)
|
||||
if (err == 0) then
|
||||
print("\n*****<2A><><EFBFBD><EFBFBD>ͨ<EFBFBD><CDA8>*****")
|
||||
beep()
|
||||
else
|
||||
print("\n*****<2A><><EFBFBD><EFBFBD>ʧ<EFBFBD><CAA7>*****")
|
||||
beep()
|
||||
delayms(100)
|
||||
beep()
|
||||
delayms(100)
|
||||
beep()
|
||||
end
|
||||
end
|
||||
|
||||
--У<D0A3><D7BC>ʼ<EFBFBD><CABC>
|
||||
function calib_init(void)
|
||||
write_tvcc_dac(43) --<2D><><EFBFBD><EFBFBD>TVCC<43><43><EFBFBD><EFBFBD>3.3V
|
||||
delayms(100)
|
||||
ex_start() --<2D><><EFBFBD>ر<EFBFBD>ȫ<EFBFBD><C8AB><EFBFBD>̵<EFBFBD><CCB5><EFBFBD>
|
||||
start_dso() --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͨ<EFBFBD><CDA8><EFBFBD><EFBFBD><EFBFBD>ٲɼ<D9B2>ģʽ
|
||||
write_reg16(0xBFFF, 1) --<2D><><EFBFBD><EFBFBD>У<D0A3><D7BC><EFBFBD><EFBFBD>
|
||||
end
|
||||
|
||||
--УTVCC<43><43><EFBFBD>õ<EFBFBD>ѹ<EFBFBD>Ͳ<EFBFBD><CDB2><EFBFBD><EFBFBD><EFBFBD>ѹ
|
||||
function calib_tvcc_volt(void)
|
||||
local adc
|
||||
local volt
|
||||
local err
|
||||
|
||||
close_all()
|
||||
ex_dout(20,1)
|
||||
ex_dout(21,1)
|
||||
|
||||
err = 0
|
||||
--<2D><>УTVCC<43><43><EFBFBD>õ<EFBFBD>ѹ<EFBFBD>ͼ<EFBFBD><CDBC><EFBFBD><EFBFBD><EFBFBD>ѹ
|
||||
print("")
|
||||
print("---УTVCC---")
|
||||
|
||||
---<2D><>1<EFBFBD><31>
|
||||
write_tvcc_dac(36) --4.4V<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
delayms(1500)
|
||||
volt = ad7606_volt(0) --<2D><>ȡAD7606 TVCC<43><43>ѹ
|
||||
if (check_err(volt, 4.416, 0.05)==1) then
|
||||
str = string.format("SET = 36 ʵ<>ʵ<EFBFBD>ѹ = %f err", volt) print(str) delayms(5)
|
||||
err = err + 1
|
||||
else
|
||||
str = string.format("SET = 36 ʵ<>ʵ<EFBFBD>ѹ = %f ok", volt) print(str) delayms(5)
|
||||
write_regfloat(0xC0C0, 36)
|
||||
write_regfloat(0xC0C2, volt)
|
||||
end
|
||||
|
||||
adc = read_adc(4) --<2D><>cpu adc tvcc<63><63>ѹ
|
||||
if (check_err(adc, 46368, 0.1)==1) then
|
||||
print("TVCC Volt ADC =", adc, "err") delayms(5)
|
||||
err = err + 1
|
||||
else
|
||||
print("TVCC Volt ADC =", adc, "ok") delayms(5)
|
||||
write_regfloat(0xC0AC, adc)
|
||||
write_regfloat(0xC0AE, volt)
|
||||
end
|
||||
|
||||
adc = read_adc(2) --<2D><>cpu adc <20>߲<EFBFBD><DFB2><EFBFBD>ѹ
|
||||
if (check_err(adc, 8117, 0.1)==1) then
|
||||
print("HighSide Volt ADC =", adc, "err") delayms(5)
|
||||
err = err + 1
|
||||
else
|
||||
print("HighSide Volt ADC =", adc, "ok") delayms(5)
|
||||
write_regfloat(0xC084, adc)
|
||||
write_regfloat(0xC086, volt)
|
||||
end
|
||||
|
||||
---<2D><>2<EFBFBD><32>
|
||||
print("")
|
||||
write_tvcc_dac(100)
|
||||
delayms(1500)
|
||||
volt = ad7606_volt(0) --<2D><>ȡAD7606 TVCC <20><>ѹ
|
||||
if (check_err(volt, 1.59, 0.1)==1) then
|
||||
str = string.format("SET = 100 ʵ<>ʵ<EFBFBD>ѹ = %f err", volt) print(str) delayms(5)
|
||||
err = err + 1
|
||||
else
|
||||
str = string.format("SET = 100 ʵ<>ʵ<EFBFBD>ѹ = %f ok", volt) print(str) delayms(5)
|
||||
write_regfloat(0xC0C4, 100)
|
||||
write_regfloat(0xC0C6, volt)
|
||||
end
|
||||
|
||||
adc = read_adc(4) --<2D><>cpu adc tvcc<63><63>ѹ
|
||||
if (check_err(adc, 16679, 0.1)==1) then
|
||||
print("TVCC Volt ADC =", adc, "err") delayms(5)
|
||||
err = err + 1
|
||||
else
|
||||
print("TVCC Volt ADC =", adc, "ok") delayms(5)
|
||||
write_regfloat(0xC0A8, adc)
|
||||
write_regfloat(0xC0AA, volt)
|
||||
end
|
||||
|
||||
adc = read_adc(2) --<2D><>cpu adc <20>߲<EFBFBD><DFB2><EFBFBD>ѹ
|
||||
if (check_err(adc, 2879, 0.1)==1) then
|
||||
print("HighSide Volt ADC =", adc, "err") delayms(5)
|
||||
err = err + 1
|
||||
else
|
||||
print("HighSide Volt ADC =", adc, "ok") delayms(5)
|
||||
write_regfloat(0xC080, adc)
|
||||
write_regfloat(0xC082, volt)
|
||||
end
|
||||
|
||||
--<2D>ָ<EFBFBD>TVCC<43><43>ѹ3.3<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ͳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
write_tvcc_dac(47)
|
||||
return err
|
||||
end
|
||||
|
||||
--УCPU<50><55>DAC<41><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ<EFBFBD>͵<EFBFBD><CDB5><EFBFBD>
|
||||
function calib_dac(void)
|
||||
local i
|
||||
local err
|
||||
local volt
|
||||
local curr
|
||||
local dac
|
||||
local dac_tab = {500, 1500, 2500, 3500}
|
||||
local volt_mid = {-9.176, -3.235, 2.711, 8.661}
|
||||
local curr_mid = {2.592, 7.723, 12.857, 17.992}
|
||||
local volt_err = 0.1
|
||||
local curr_err = 0.1
|
||||
|
||||
close_all()
|
||||
ex_dout(0,1)
|
||||
ex_dout(19,1)
|
||||
|
||||
err = 0
|
||||
dac_on() --<2D><><EFBFBD><EFBFBD>DAC<41><43>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊֱ<CEAA><D6B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
delayms(100)
|
||||
|
||||
print("")
|
||||
print("---УDAC<41><43>ѹ<EFBFBD>͵<EFBFBD><CDB5><EFBFBD>---")
|
||||
for i = 0, 3, 1 do
|
||||
dac = dac_tab[i + 1]
|
||||
dac_write(dac) --CPU DAC<41><43><EFBFBD><EFBFBD>
|
||||
delayms(500)
|
||||
|
||||
volt = ad7606_volt(1)
|
||||
if (check_err(volt, volt_mid[i + 1], volt_err) == 1) then
|
||||
str = string.format("DAC<EFBFBD><EFBFBD>ѹ = %d %f err", dac, volt) print(str) delayms(5)
|
||||
err = err + 1
|
||||
else
|
||||
str = string.format("DAC<EFBFBD><EFBFBD>ѹ = %d %f ok", dac, volt) print(str) delayms(5)
|
||||
write_reg16(0xC0C8 + i * 2, dac)
|
||||
write_reg16(0xC0C9 + i * 2, volt * 1000)
|
||||
end
|
||||
|
||||
curr = ad7606_curr(6) --20mA<6D><41><EFBFBD><EFBFBD>
|
||||
if (check_err(curr, curr_mid[i + 1], curr_err) == 1) then
|
||||
str = string.format("DAC<EFBFBD><EFBFBD><EFBFBD><EFBFBD> = %d %f err", dac, curr) print(str) delayms(5)
|
||||
err = err + 1
|
||||
else
|
||||
str = string.format("DAC<EFBFBD><EFBFBD><EFBFBD><EFBFBD> = %d %f ok", dac, curr) print(str) delayms(5)
|
||||
write_reg16(0xC0D0 + i * 2, dac)
|
||||
write_reg16(0xC0D1 + i * 2, curr * 1000)
|
||||
end
|
||||
end
|
||||
return err
|
||||
end
|
||||
|
||||
--Уʾ<D7BC><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
function calib_ch1ch2(void)
|
||||
local i
|
||||
local err
|
||||
local volt
|
||||
local adc
|
||||
local ch_tab = {9.0, 6.0, 3.0, 1.5, 0.75, 0.375, 0.170, 0.09}
|
||||
local zero_mid = {32768, 32768, 32768, 32768, 32768, 32768, 32768, 32768}
|
||||
local full_mid = {53641, 60506, 60629, 60686, 60857, 60915, 58393, 60166}
|
||||
local adc_err1 = 0.22
|
||||
local adc_err2 = 0.12
|
||||
|
||||
close_all()
|
||||
ex_dout(4,1)
|
||||
|
||||
print("")
|
||||
print("---Уʾ<D7BC><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ---") delayms(5)
|
||||
err = 0
|
||||
print("<EFBFBD><EFBFBD><EFBFBD><EFBFBD>У<EFBFBD><EFBFBD>λ") delayms(5)
|
||||
for i = 0, 7, 1 do
|
||||
write_reg16(0x0202, i) -- CH1ͨ<31><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>0<EFBFBD><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŵ<EFBFBD>
|
||||
write_reg16(0x0203, i) -- CH2ͨ<32><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>0<EFBFBD><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŵ<EFBFBD>
|
||||
|
||||
if (i == 0) then
|
||||
delayms(1200)
|
||||
else
|
||||
delayms(1200)
|
||||
end
|
||||
adc = read_adc(0)
|
||||
if (check_err(adc, zero_mid[i + 1], adc_err1)==1) then
|
||||
str = string.format(" CH1 %d adc = %f err", i, adc)
|
||||
print(str)
|
||||
err = err + 1
|
||||
else
|
||||
str = string.format(" CH1 %d adc = %f ok", i, adc) print(str) delayms(5)
|
||||
|
||||
write_regfloat(0xC000 + 8 * i, adc)
|
||||
write_regfloat(0xC002 + 8 * i, 0)
|
||||
end
|
||||
|
||||
adc = read_adc(1)
|
||||
if (check_err(adc, zero_mid[i + 1], adc_err1)==1) then
|
||||
str = string.format(" CH2 %d adc = %f err", i, adc) print(str) delayms(5)
|
||||
err = err + 1
|
||||
else
|
||||
str = string.format(" CH2 %d adc = %f ok", i, adc) print(str) delayms(5)
|
||||
write_regfloat(0xC040 + 8 * i, adc)
|
||||
write_regfloat(0xC042 + 8 * i, 0)
|
||||
end
|
||||
end
|
||||
|
||||
if (err > 0) then
|
||||
goto quit
|
||||
end
|
||||
|
||||
close_all()
|
||||
ex_dout(12,1)
|
||||
ex_dout(13,1)
|
||||
ex_dout(14,1)
|
||||
delayms(1000)
|
||||
|
||||
print("У<EFBFBD><EFBFBD>λ")
|
||||
for i = 0, 7, 1 do
|
||||
write_reg16(0x0202, i) -- CH1ͨ<31><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>0<EFBFBD><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŵ<EFBFBD>
|
||||
write_reg16(0x0203, i) -- CH2ͨ<32><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>0<EFBFBD><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŵ<EFBFBD>
|
||||
|
||||
dac8563_volt(ch_tab[i + 1])
|
||||
|
||||
delayms(1000)
|
||||
adc = read_adc(0)
|
||||
volt = ad7606_volt(1)
|
||||
if (check_err(adc, full_mid[i + 1], adc_err2)==1) then
|
||||
str = string.format(" CH1 %d volt = %f adc = %f err", i, volt, adc) print(str) delayms(5)
|
||||
err = err + 1
|
||||
else
|
||||
str = string.format(" CH1 %d volt = %f adc = %f ok", i, volt, adc) print(str) delayms(5)
|
||||
write_regfloat(0xC004 + 8 * i, adc)
|
||||
write_regfloat(0xC006 + 8 * i, volt)
|
||||
end
|
||||
|
||||
adc = read_adc(1)
|
||||
volt = ad7606_volt(1)
|
||||
if (check_err(adc, full_mid[i + 1], adc_err2)==1) then
|
||||
str = string.format(" CH2 %d volt = %f adc = %f err", i, volt, adc) print(str) delayms(5)
|
||||
err = err + 1
|
||||
else
|
||||
str = string.format(" CH2 %d volt = %f adc = %f ok", i, volt, adc) print(str) delayms(5)
|
||||
write_regfloat(0xC044 + 8 * i, adc)
|
||||
write_regfloat(0xC046 + 8 * i, volt)
|
||||
end
|
||||
end
|
||||
|
||||
::quit::
|
||||
return err
|
||||
end
|
||||
|
||||
--Уtvcc<63><63><EFBFBD><EFBFBD><EFBFBD>߲<CDB8><DFB2><EFBFBD><EFBFBD><EFBFBD>
|
||||
function calib_curr(void)
|
||||
local i
|
||||
local err
|
||||
local curr
|
||||
local adc
|
||||
local set_tabe1 = {0, 0.15 * 10, 0.3*10, 0.4*10}
|
||||
local high_mid1 = {160, 7700, 15330, 20296}
|
||||
local tvcc_mid = {477, 21458, 42877, 56882}
|
||||
local adc_err1 = {0.6,0.1,0.1,0.1}
|
||||
|
||||
local set_tabe2 = {0, 0.03 * 50, 0.05*50, 0.09 * 50}
|
||||
local high_mid2 = {1300, 16421, 26873, 48841}
|
||||
local adc_err2 = {0.9,0.1,0.1,0.1}
|
||||
local volt
|
||||
|
||||
print("")
|
||||
print("---УTVCC<43><43><EFBFBD><EFBFBD><EFBFBD>߲<CDB8><DFB2><EFBFBD><EFBFBD><EFBFBD>---")
|
||||
err = 0
|
||||
|
||||
close_all()
|
||||
ex_dout(20,1)
|
||||
ex_dout(21,1)
|
||||
|
||||
--TVCC<43><43><EFBFBD><EFBFBD><EFBFBD>߲<CDB8><DFB2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC><EFBFBD>Ȳ<EFBFBD>1.2A<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
print("---1.2A---") delayms(5)
|
||||
write_reg16(0x0211, 1) --1.2A<EFBFBD><EFBFBD><EFBFBD><EFBFBD> HIGH_SIDE
|
||||
for i = 0, 3, 1 do
|
||||
volt = set_tabe1[i+1]
|
||||
str = string.format("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = %fV", volt) print(str) delayms(5)
|
||||
if (volt == 0) then
|
||||
ex_dout(20,0)
|
||||
ex_dout(21,0)
|
||||
|
||||
ex_dout(22,0)
|
||||
ex_dout(23,0)
|
||||
set_tvcc(5) --<2D><><EFBFBD><EFBFBD>TVCC<43><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ5v У0λ
|
||||
delayms(1000)
|
||||
else
|
||||
ex_dout(20,1)
|
||||
ex_dout(21,1)
|
||||
|
||||
set_tvcc(volt) --<2D><><EFBFBD><EFBFBD>TVCC<43><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD><EFBFBD>ص<EFBFBD><D8B5><EFBFBD>Ϊ10ŷ
|
||||
ex_dout(23,0)
|
||||
ex_dout(22,1) --ѡ<><D1A1>10ŷ<30><C5B7><EFBFBD><EFBFBD>
|
||||
end
|
||||
|
||||
delayms(1000)
|
||||
|
||||
if (volt == 0) then
|
||||
curr = 0
|
||||
else
|
||||
curr = ad7606_curr(5) --10ŷ<30><C5B7><EFBFBD>أ<EFBFBD><D8A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
end
|
||||
|
||||
adc = read_adc(3) --3=<3D>߲<EFBFBD><DFB2><EFBFBD><EFBFBD><EFBFBD>cpu ADC
|
||||
if (check_err(adc, high_mid1[i + 1], adc_err1[i + 1])==1) then
|
||||
str = string.format(" <20>߲<EFBFBD><DFB2><EFBFBD><EFBFBD><EFBFBD> = %fmA adc = %f err", curr, adc) print(str) delayms(5)
|
||||
err = err + 1
|
||||
else
|
||||
str = string.format(" <20>߲<EFBFBD><DFB2><EFBFBD><EFBFBD><EFBFBD> = %fmA adc = %f ok", curr, adc) print(str) delayms(5)
|
||||
write_regfloat(0xC098 + 4 * i, adc)
|
||||
write_regfloat(0xC09A + 4 * i, curr)
|
||||
end
|
||||
|
||||
adc = read_adc(5) --5=tvcc<63><63><EFBFBD><EFBFBD>
|
||||
if (check_err(adc, tvcc_mid[i + 1], adc_err1[i + 1])==1) then
|
||||
str = string.format(" TVCC<43><43><EFBFBD><EFBFBD> = %fmA adc = %f err", curr, adc) print(str) delayms(5)
|
||||
err = err + 1
|
||||
else
|
||||
str = string.format(" TVCC<43><43><EFBFBD><EFBFBD> = %fmA adc = %f ok", curr, adc) print(str) delayms(5)
|
||||
write_regfloat(0xC0B0 + 4 * i, adc)
|
||||
write_regfloat(0xC0B2 + 4 * i, curr)
|
||||
end
|
||||
end
|
||||
|
||||
--<2D>߲<EFBFBD><DFB2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC><EFBFBD><EFBFBD><EFBFBD>߲<EFBFBD><DFB2><EFBFBD><EFBFBD><EFBFBD>100<30><30><EFBFBD><EFBFBD>
|
||||
print("")
|
||||
print("---120mA---") delayms(5)
|
||||
write_reg16(0x0211, 0) --120mA<6D><41><EFBFBD><EFBFBD> HIGH_SIDE
|
||||
for i = 0, 3, 1 do
|
||||
volt = set_tabe2[i+1]
|
||||
str = string.format("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = %fV", volt) print(str) delayms(5)
|
||||
if (volt == 0) then
|
||||
ex_dout(22,0)
|
||||
ex_dout(23,0)
|
||||
else
|
||||
set_tvcc(volt) --<2D><><EFBFBD><EFBFBD>TVCC<43><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD><EFBFBD>ص<EFBFBD><D8B5><EFBFBD>Ϊ10ŷ
|
||||
ex_dout(22,0)
|
||||
ex_dout(23,1)--ѡ<><D1A1>50ŷ<30><C5B7><EFBFBD><EFBFBD>
|
||||
end
|
||||
|
||||
delayms(1000)
|
||||
|
||||
if (volt == 0) then
|
||||
curr = 0
|
||||
else
|
||||
curr = ad7606_curr(7) --50ŷ<30><C5B7><EFBFBD>أ<EFBFBD><D8A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
end
|
||||
|
||||
adc = read_adc(3) --3=<3D>߲<EFBFBD><DFB2><EFBFBD><EFBFBD><EFBFBD>cpu ADC
|
||||
if (check_err(adc, high_mid2[i + 1], adc_err2[i + 1])==1) then
|
||||
str = string.format(" <20>߲<EFBFBD><DFB2><EFBFBD><EFBFBD><EFBFBD> = %fmA adc = %f err", curr, adc) print(str) delayms(5)
|
||||
err = err + 1
|
||||
else
|
||||
str = string.format(" <20>߲<EFBFBD><DFB2><EFBFBD><EFBFBD><EFBFBD> = %fmA adc = %f ok", curr, adc) print(str) delayms(5)
|
||||
write_regfloat(0xC088 + 4 * i, adc)
|
||||
write_regfloat(0xC08A + 4 * i, curr)
|
||||
end
|
||||
end
|
||||
|
||||
return err
|
||||
end
|
||||
|
||||
--УNTC
|
||||
function calib_ntc(void)
|
||||
local i
|
||||
local err
|
||||
local adc
|
||||
local ref = {0.0003, 0.0222, 9.9732, 99.958}
|
||||
local Y = {5,6,16,17}
|
||||
local adc_mid = {105, 283, 43376, 62376}
|
||||
local adc_err = {0.6, 0.7, 0.1, 0.1}
|
||||
|
||||
print("")
|
||||
print("---УNTC---")
|
||||
err = 0
|
||||
|
||||
for i=0,3,1 do
|
||||
close_all()
|
||||
ex_dout(Y[i+1],1)
|
||||
delayms(1000)
|
||||
adc = read_adc(6) --6=NTC adc
|
||||
if (check_err(adc, adc_mid[i+1], adc_err[i+1])==1) then
|
||||
str = string.format(" <20><><EFBFBD><EFBFBD> = %fŷ adc = %f err", ref[i+1], adc) print(str) delayms(5)
|
||||
err = err + 1
|
||||
else
|
||||
str = string.format(" <20><><EFBFBD><EFBFBD> = %fŷ adc = %f ok", ref[i+1], adc) print(str) delayms(5)
|
||||
write_regfloat(0xC0D8+4*i, adc)
|
||||
write_regfloat(0xC0DA+4*i, ref[i+1])
|
||||
end
|
||||
end
|
||||
return err
|
||||
end
|
||||
|
||||
--<2D>ر<EFBFBD><D8B1><EFBFBD><EFBFBD>еļ̵<C4BC><CCB5><EFBFBD>
|
||||
function close_all(void)
|
||||
local i
|
||||
|
||||
for i=0,23,1 do
|
||||
ex_dout(i, 0)
|
||||
end
|
||||
end
|
||||
|
||||
--<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
function test_calib(void)
|
||||
local err
|
||||
local time1
|
||||
local time2
|
||||
|
||||
time1 = get_runtime()
|
||||
|
||||
print("\r\n----<2D><><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>----")
|
||||
time2 = os.time()
|
||||
print(os.date())
|
||||
print(time2)
|
||||
if (time2 < 1574937149) then
|
||||
print("*****ʱ<>Ӵ<EFBFBD><D3B4><EFBFBD>*****")
|
||||
goto quit
|
||||
else
|
||||
print("ʱ<EFBFBD><EFBFBD>OK > 1574937149")
|
||||
end
|
||||
|
||||
err = 0
|
||||
|
||||
err = err + calib_tvcc_volt() --УTVCC<43><43>ѹ
|
||||
if (err > 0) then
|
||||
goto quit
|
||||
end
|
||||
|
||||
err = err + calib_dac() --УDAC
|
||||
if (err > 0) then
|
||||
goto quit
|
||||
end
|
||||
|
||||
err = err + calib_ch1ch2() --Уʾ<D7BC><CABE><EFBFBD><EFBFBD>
|
||||
if (err > 0) then
|
||||
goto quit
|
||||
end
|
||||
|
||||
err = err + calib_curr() --УTVCC<43><43><EFBFBD><EFBFBD><EFBFBD>߲<CDB8><DFB2><EFBFBD><EFBFBD><EFBFBD>
|
||||
if (err > 0) then
|
||||
goto quit
|
||||
end
|
||||
|
||||
err = err + calib_ntc() --Уntc
|
||||
if (err > 0) then
|
||||
goto quit
|
||||
end
|
||||
|
||||
save_param() --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>eeprom
|
||||
|
||||
::quit::
|
||||
disp_result(err) delayms(5)
|
||||
|
||||
close_all()
|
||||
|
||||
time2 = get_runtime()
|
||||
str = string.format("<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD> : %f <20><>",(time2 - time1) / 1000) print(str) delayms(5)
|
||||
end
|
||||
|
||||
calib_init()
|
@ -1,153 +0,0 @@
|
||||
--F01=<3D>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD>,AutoTestUart()
|
||||
--F02=<3D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,TestUart()
|
||||
|
||||
--<2D>ɹ<EFBFBD><C9B9><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD>ʧ<EFBFBD>ܽ<EFBFBD><DCBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
function TestErr(void)
|
||||
print("<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʧ<EFBFBD><EFBFBD>")
|
||||
beep()
|
||||
delayms(100)
|
||||
beep()
|
||||
delayms(100)
|
||||
beep()
|
||||
end
|
||||
|
||||
function TestOk(void)
|
||||
print("<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͨ<EFBFBD><EFBFBD>")
|
||||
beep()
|
||||
end
|
||||
|
||||
--<2D><><EFBFBD>Դ<EFBFBD><D4B4><EFBFBD>Ӳ<EFBFBD><D3B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
function TestUart(void)
|
||||
local COM_TTL = 7
|
||||
local COM_485 = 1
|
||||
local Parity = 0
|
||||
local DataBits = 8
|
||||
local StopBits = 1
|
||||
local tx_str = "H7-TOOL"
|
||||
local rx_str
|
||||
local rx_len
|
||||
local str
|
||||
local curr
|
||||
local volt
|
||||
local ret = "OK"
|
||||
|
||||
print("<EFBFBD><EFBFBD>ʼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>")
|
||||
|
||||
write_reg16(0x01FF,2)
|
||||
|
||||
gpio_cfg(0, 5) -- <20><><EFBFBD><EFBFBD>D0ΪUART<52><54><EFBFBD><EFBFBD>
|
||||
gpio_cfg(1, 5) -- <20><><EFBFBD><EFBFBD>D1ΪUART<52><54><EFBFBD><EFBFBD>
|
||||
|
||||
uart_cfg(COM_TTL, 115200, Parity, DataBits, StopBits)
|
||||
uart_cfg(COM_485, 115200, Parity, DataBits, StopBits)
|
||||
|
||||
volt = read_analog(4)
|
||||
curr = read_analog(5)
|
||||
str = string.format("<EFBFBD><EFBFBD>ѹ %0.1fV <20><><EFBFBD><EFBFBD> %0.1fmA", volt, curr)
|
||||
print(str)
|
||||
|
||||
--print("RS485 -> TTL")
|
||||
uart_send(COM_485, tx_str)
|
||||
rx_len, rx_str = uart_recive(COM_TTL, 7, 100)
|
||||
if (rx_str == tx_str) then
|
||||
print("RS485 -> TTL : OK")
|
||||
else
|
||||
print("RS485 -> TTL : ERROR")
|
||||
ret = "ERROR"
|
||||
goto quit_err
|
||||
end
|
||||
|
||||
--print("<22><><EFBFBD><EFBFBD> TTL -> RS485")
|
||||
uart_send(COM_TTL, tx_str)
|
||||
rx_len, rx_str = uart_recive(COM_485, 7, 100)
|
||||
if (rx_str == tx_str) then
|
||||
print("TTL -> RS485 : OK")
|
||||
else
|
||||
print("TTL -> RS485 : ERROR")
|
||||
ret = "ERROR"
|
||||
goto quit_err
|
||||
end
|
||||
|
||||
::quit_err::
|
||||
if (ret == "OK") then
|
||||
TestOk()
|
||||
else
|
||||
TestErr()
|
||||
end
|
||||
|
||||
return ret
|
||||
end
|
||||
|
||||
--<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD>
|
||||
function AutoTestUart(void)
|
||||
|
||||
local now_curr = 0
|
||||
local count = 0
|
||||
local inserted = 0
|
||||
local key
|
||||
|
||||
print("<EFBFBD><EFBFBD><EFBFBD><EFBFBD> RS485 -> TTL")
|
||||
|
||||
write_reg16(0x01FF, 2) --ADC<44>л<EFBFBD><D0BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ٶ<EFBFBD>ͨ<EFBFBD><CDA8>ɨ<EFBFBD><C9A8>ģʽ
|
||||
while(1)
|
||||
do
|
||||
now_curr = read_analog(5)
|
||||
|
||||
if (inserted == 0) then
|
||||
if (now_curr > 20) then
|
||||
delayms(50)
|
||||
TestUart()
|
||||
inserted = 1
|
||||
count = count + 1
|
||||
print("<EFBFBD>Ѳ<EFBFBD><EFBFBD><EFBFBD>", count)
|
||||
end
|
||||
else
|
||||
if (now_curr < 5) then
|
||||
inserted = 0
|
||||
end
|
||||
end
|
||||
|
||||
delayms(100)
|
||||
|
||||
--<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˳<EFBFBD>ѭ<EFBFBD><D1AD>
|
||||
key = get_key()
|
||||
if (key > 0) then
|
||||
return
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
--<2D><><EFBFBD><EFBFBD>GPIO<49><4F><EFBFBD><EFBFBD>,D0<44><30>D1<44>̽Ӻ<CCBD><D3BA><EFBFBD><EFBFBD>Կ<EFBFBD>ͨ<EFBFBD><CDA8>
|
||||
function TestGPIO(void)
|
||||
local y
|
||||
local err = 0
|
||||
|
||||
print("")
|
||||
print("<EFBFBD><EFBFBD><EFBFBD><EFBFBD>GPIO")
|
||||
|
||||
gpio_cfg(0, 1)
|
||||
gpio_cfg(1, 0)
|
||||
|
||||
-- D0 = 0
|
||||
gpio_write(0, 0)
|
||||
delayms(100)
|
||||
y = gpio_read(1)
|
||||
if (y ~= 0) then
|
||||
err = err + 1
|
||||
end
|
||||
|
||||
-- D0 = 1
|
||||
gpio_write(0, 1)
|
||||
delayms(100)
|
||||
y = gpio_read(1)
|
||||
if (y ~= 1) then
|
||||
err = err + 1
|
||||
end
|
||||
|
||||
if (err == 0) then
|
||||
TestOk()
|
||||
else
|
||||
TestErr()
|
||||
end
|
||||
end
|
@ -1,89 +0,0 @@
|
||||
--F01=<3D><><EFBFBD><EFBFBD>RS232,TestUart()
|
||||
--F02=<3D><><EFBFBD><EFBFBD>D0-D1,TestGPIO()
|
||||
--F03=ÿ<><C3BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>10<31><30>,TestBeep()
|
||||
|
||||
--<2D>ɹ<EFBFBD><C9B9><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD>ʧ<EFBFBD>ܽ<EFBFBD><DCBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
function TestErr(void)
|
||||
print("<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʧ<EFBFBD><EFBFBD>")
|
||||
beep()
|
||||
delayms(100)
|
||||
beep()
|
||||
delayms(100)
|
||||
beep()
|
||||
end
|
||||
|
||||
function TestOk(void)
|
||||
print("<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͨ<EFBFBD><EFBFBD>")
|
||||
beep()
|
||||
end
|
||||
|
||||
function TestBeep(void)
|
||||
local i
|
||||
local str
|
||||
|
||||
for i = 1,10,1 do
|
||||
str = string.format("<EFBFBD><EFBFBD>%d<><64>", i);
|
||||
print(str)
|
||||
beep()
|
||||
delayms(1000)
|
||||
end
|
||||
end
|
||||
|
||||
--<2D><><EFBFBD>Դ<EFBFBD><D4B4><EFBFBD>Ӳ<EFBFBD><D3B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
function TestUart(void)
|
||||
local COM = 1
|
||||
local Parity = 0
|
||||
local DataBits = 8
|
||||
local StopBits = 1
|
||||
local tx_str = "H7-TOOL"
|
||||
local rx_str
|
||||
local rx_len
|
||||
|
||||
print("<EFBFBD><EFBFBD><EFBFBD><EFBFBD>RS232<EFBFBD><EFBFBD><EFBFBD><EFBFBD>")
|
||||
|
||||
uart_cfg(COM, 9600, Parity, DataBits, StopBits)
|
||||
|
||||
uart_send(COM, tx_str)
|
||||
rx_len, rx_str = uart_recive(COM, 32, 100)
|
||||
print(rx_len, rx_str)
|
||||
|
||||
if (rx_str == tx_str) then
|
||||
TestOk()
|
||||
else
|
||||
TestErr()
|
||||
end
|
||||
end
|
||||
|
||||
--<2D><><EFBFBD><EFBFBD>GPIO<49><4F><EFBFBD><EFBFBD>,D0<44><30>D1<44>̽Ӻ<CCBD><D3BA><EFBFBD><EFBFBD>Կ<EFBFBD>ͨ<EFBFBD><CDA8>
|
||||
function TestGPIO(void)
|
||||
local y
|
||||
local err = 0
|
||||
|
||||
print("")
|
||||
print("<EFBFBD><EFBFBD><EFBFBD><EFBFBD>GPIO")
|
||||
|
||||
gpio_cfg(0, 1)
|
||||
gpio_cfg(1, 0)
|
||||
|
||||
-- D0 = 0
|
||||
gpio_write(0, 0)
|
||||
delayms(100)
|
||||
y = gpio_read(1)
|
||||
if (y ~= 0) then
|
||||
err = err + 1
|
||||
end
|
||||
|
||||
-- D0 = 1
|
||||
gpio_write(0, 1)
|
||||
delayms(100)
|
||||
y = gpio_read(1)
|
||||
if (y ~= 1) then
|
||||
err = err + 1
|
||||
end
|
||||
|
||||
if (err == 0) then
|
||||
TestOk()
|
||||
else
|
||||
TestErr()
|
||||
end
|
||||
end
|
@ -1,347 +0,0 @@
|
||||
--F01=<3D><><EFBFBD>幦<EFBFBD><E5B9A6>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>,test_gpio()
|
||||
--F02=TVCC+NTC<54><43><EFBFBD><EFBFBD>,test_tvcc()
|
||||
--F03=ʾ<><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD>,test_ch1ch2()
|
||||
--F04=ִ<><D6B4>01-02-03,test_gpio() test_tvcc() test_ch1ch2()
|
||||
--F05=<3D><><EFBFBD><EFBFBD>ת<EFBFBD>Ӱ<EFBFBD>LED,test_ledout()
|
||||
--F06=ʱ<><CAB1>,print(os.date())
|
||||
--F07=<3D><>չ<EFBFBD><D5B9><EFBFBD>̵<EFBFBD><CCB5><EFBFBD>ȫ<EFBFBD><C8AB>,test_extio_open_do()
|
||||
--F08=<3D><>չ<EFBFBD><D5B9><EFBFBD>̵<EFBFBD><CCB5><EFBFBD>ȫ<EFBFBD><C8AB>,test_extio_close_do()
|
||||
--F09=<3D><>չ<EFBFBD><D5B9>DI<44><49>ȡ,test_extio_di()
|
||||
--F10=,close_all()
|
||||
|
||||
beep()
|
||||
print("H7-TOOL<4F><4C><EFBFBD>幦<EFBFBD>ܳ<EFBFBD><DCB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ѽ<EFBFBD><D1BC><EFBFBD> 2020-01-10")
|
||||
|
||||
--<2D><><EFBFBD><EFBFBD>GPIO<49><4F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
function test_gpio(void)
|
||||
local err
|
||||
local terr
|
||||
local i
|
||||
local time1
|
||||
|
||||
print("")
|
||||
print("----<2D><><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>----") delayms(5)
|
||||
time1 = os.time()
|
||||
print(os.date())
|
||||
print(time1)
|
||||
if (time1 < 1574937149) then
|
||||
print("*****ʱ<>Ӵ<EFBFBD><D3B4><EFBFBD>*****") delayms(5)
|
||||
beep()
|
||||
delayms(100)
|
||||
beep()
|
||||
delayms(100)
|
||||
beep()
|
||||
else
|
||||
print("ʱ<EFBFBD><EFBFBD>OK > 1574937149") delayms(5)
|
||||
end
|
||||
|
||||
print("") delayms(5)
|
||||
print("----<2D><>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD>----") delayms(5)
|
||||
err=0
|
||||
terr=0
|
||||
--<2D><><EFBFBD><EFBFBD>TVCC<43><43><EFBFBD><EFBFBD>3.3V
|
||||
set_tvcc(3.3)
|
||||
|
||||
--<2D>任<EFBFBD><E4BBBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ٲ<EFBFBD>һ<EFBFBD><D2BB>
|
||||
gpio_cfg(0, 0)
|
||||
gpio_cfg(1, 1)
|
||||
gpio_cfg(2, 0)
|
||||
gpio_cfg(3, 1)
|
||||
gpio_cfg(4, 0)
|
||||
gpio_cfg(5, 1)
|
||||
gpio_cfg(6, 0)
|
||||
gpio_cfg(7, 1)
|
||||
gpio_cfg(8, 0)
|
||||
gpio_cfg(9, 1)
|
||||
|
||||
gpio_write(1, 1) if (gpio_read(0)==1) then err=0 else err=1 end
|
||||
gpio_write(1, 0) if (gpio_read(0)==1) then err=err+1 end
|
||||
if (err == 0) then print("D1->D0 ok") else print("D1->D0 Error") terr=terr+1 end
|
||||
delayms(5)
|
||||
|
||||
gpio_write(3, 1) if (gpio_read(2)==1) then err=0 else err=1 end
|
||||
gpio_write(3, 0) if (gpio_read(2)==1) then err=err+1 end
|
||||
if (err == 0) then print("D3->D2 ok") else print("D3->D2 Error") terr=terr+1 end
|
||||
delayms(5)
|
||||
|
||||
gpio_write(5, 1) if (gpio_read(4)==1) then err=0 else err=1 end
|
||||
gpio_write(5, 0) if (gpio_read(4)==1) then err=err+1 end
|
||||
if (err == 0) then print("D5->D4 ok") else print("D5->D4 Error") terr=terr+1 end
|
||||
delayms(5)
|
||||
|
||||
gpio_write(7, 1) if (gpio_read(6)==1) then err=0 else err=1 end
|
||||
gpio_write(7, 0) if (gpio_read(6)==1) then err=err+1 end
|
||||
if (err == 0) then print("D7->D6 ok") else print("D7->D6 Error") terr=terr+1 end
|
||||
delayms(5)
|
||||
|
||||
gpio_write(9, 1) if (gpio_read(8)==1) then err=0 else err=1 end
|
||||
gpio_write(9, 0) if (gpio_read(8)==1) then err=err+1 end
|
||||
if (err == 0) then print("D9->D8 ok") else print("D9->D8 Error") terr=terr+1 end
|
||||
delayms(5)
|
||||
|
||||
--4<><34>GPIO<49><4F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD>
|
||||
gpio_cfg(0, 1) -- <20><><EFBFBD><EFBFBD>D0Ϊ<30><CEAA><EFBFBD><EFBFBD>
|
||||
gpio_cfg(1, 0) -- <20><><EFBFBD><EFBFBD>D1δ<31><CEB4><EFBFBD><EFBFBD>
|
||||
gpio_cfg(2, 1)
|
||||
gpio_cfg(3, 0)
|
||||
gpio_cfg(4, 1)
|
||||
gpio_cfg(5, 0)
|
||||
gpio_cfg(6, 1)
|
||||
gpio_cfg(7, 0)
|
||||
gpio_cfg(8, 1)
|
||||
gpio_cfg(9, 0)
|
||||
|
||||
gpio_write(0, 1) if (gpio_read(1)==1) then err=0 else err=1 end
|
||||
gpio_write(0, 0) if (gpio_read(1)==1) then err=err+1 end
|
||||
if (err == 0) then print("D0->D1 ok") else print("D0->D1 Error") terr=terr+1 end
|
||||
delayms(5)
|
||||
|
||||
gpio_write(2, 1) if (gpio_read(3)==1) then err=0 else err=1 end
|
||||
gpio_write(2, 0) if (gpio_read(3)==1) then err=err+1 end
|
||||
if (err == 0) then print("D2->D3 ok") else print("D2->D3 Error") terr=terr+1 end
|
||||
delayms(5)
|
||||
|
||||
gpio_write(4, 1) if (gpio_read(5)==1) then err=0 else err=1 end
|
||||
gpio_write(4, 0) if (gpio_read(5)==1) then err=err+1 end
|
||||
if (err == 0) then print("D4->D5 ok") else print("D4->D5 Error") terr=terr+1 end
|
||||
delayms(5)
|
||||
|
||||
gpio_write(6, 1) if (gpio_read(7)==1) then err=0 else err=1 end
|
||||
gpio_write(6, 0) if (gpio_read(7)==1) then err=err+1 end
|
||||
if (err == 0) then print("D6->D7 ok") else print("D6->D7 Error") terr=terr+1 end
|
||||
delayms(5)
|
||||
|
||||
gpio_write(8, 1) if (gpio_read(9)==1) then err=0 else err=1 end
|
||||
gpio_write(8, 0) if (gpio_read(9)==1) then err=err+1 end
|
||||
if (err == 0) then print("D8->D9 ok") else print("D8->D9 Error") terr=terr+1 end
|
||||
|
||||
delayms(5)
|
||||
|
||||
--<2D><><EFBFBD><EFBFBD>CAN
|
||||
gpio_cfg(12, 1)
|
||||
gpio_cfg(13, 0)
|
||||
|
||||
err = 0
|
||||
for i=0,10,1 do
|
||||
gpio_write(12, 0) delayus(1) if (gpio_read(13)==1) then err=err+1 end
|
||||
delayus(100)
|
||||
gpio_write(12, 1) delayus(1) if (gpio_read(13)==0) then err=err+1 end
|
||||
delayus(100)
|
||||
end
|
||||
if (err == 0) then print("CANTX->CANRX ok") else print("CANTX->CANRX Error", err) terr=terr+1 end
|
||||
|
||||
--<2D><><EFBFBD><EFBFBD>TTL-UART
|
||||
gpio_cfg(100, 1)
|
||||
gpio_write(100, 0)
|
||||
|
||||
gpio_cfg(10, 1)
|
||||
gpio_cfg(11, 0)
|
||||
|
||||
err = 0
|
||||
for i=0,10,1 do
|
||||
gpio_write(10, 0) delayus(10) if (gpio_read(11)==1) then err=err+1 end
|
||||
delayus(100)
|
||||
gpio_write(10, 1) delayus(10) if (gpio_read(11)==0) then err=err+1 end
|
||||
delayus(100)
|
||||
end
|
||||
if (err == 0) then print("TTL UART ok") else print("TTL UART Error", err) terr=terr+1 end
|
||||
|
||||
delayus(5000)
|
||||
if (terr > 0) then
|
||||
print("*****<2A><><EFBFBD><EFBFBD>ʧ<EFBFBD><CAA7> terr = ", terr)
|
||||
beep()
|
||||
delayms(100)
|
||||
beep()
|
||||
delayms(100)
|
||||
beep()
|
||||
else
|
||||
print("*****<2A><><EFBFBD><EFBFBD>ͨ<EFBFBD><CDA8>*****")
|
||||
beep()
|
||||
end
|
||||
end
|
||||
|
||||
--<2D><><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ADC<44>ɼ<EFBFBD><C9BC><EFBFBD><EFBFBD><EFBFBD>ͨ<EFBFBD><CDA8>ģʽ
|
||||
function start_dso(void)
|
||||
print("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ٲ<EFBFBD><EFBFBD><EFBFBD>ģʽ")
|
||||
write_reg16(0x01FF, 2) --<2D><>ͨ<EFBFBD><CDA8><EFBFBD><EFBFBD><EFBFBD>ٲ<EFBFBD><D9B2><EFBFBD>
|
||||
write_reg16(0x0200, 1) -- CH1ѡDC<44><43><EFBFBD><EFBFBD>
|
||||
write_reg16(0x0201, 1) -- CH2ѡDC<44><43><EFBFBD><EFBFBD>
|
||||
write_reg16(0x0202, 0) -- CH1ͨ<31><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>0<EFBFBD><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŵ<EFBFBD>
|
||||
write_reg16(0x0203, 0) -- CH2ͨ<32><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>0<EFBFBD><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŵ<EFBFBD>
|
||||
write_reg16(0x0204, 0) -- CH1ͨ<31><CDA8>ֱ<EFBFBD><D6B1>ƫֵ<C6AB><D6B5>δ<EFBFBD><CEB4>
|
||||
write_reg16(0x0205, 0) -- CH2ͨ<32><CDA8>ֱ<EFBFBD><D6B1>ƫֵ<C6AB><D6B5>δ<EFBFBD><CEB4>
|
||||
write_reg16(0x0206, 12) --<2D><><EFBFBD><EFBFBD>Ƶ<EFBFBD><C6B5>1M
|
||||
write_reg16(0x0207, 0) --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1K
|
||||
write_reg16(0x0208, 0) --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƽ
|
||||
write_reg16(0x0209, 50) --<2D><><EFBFBD><EFBFBD>λ<EFBFBD><CEBB>
|
||||
write_reg16(0x020A, 0) --<2D><><EFBFBD><EFBFBD>ģʽ 0=<3D>Զ<EFBFBD>
|
||||
write_reg16(0x020B, 0) --<2D><><EFBFBD><EFBFBD>ͨ<EFBFBD><CDA8>CH1
|
||||
write_reg16(0x020C, 0) --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
write_reg16(0x020D, 2) --ͨ<><CDA8>ʹ<EFBFBD><CAB9>
|
||||
write_reg16(0x020E, 1) --<2D><>ʼ<EFBFBD>ɼ<EFBFBD>
|
||||
end
|
||||
|
||||
function test_ch1ch2(void)
|
||||
local err
|
||||
local i
|
||||
local adc
|
||||
local dac
|
||||
local errd
|
||||
--DAC<41><43><EFBFBD>¹<EFBFBD>ϵ
|
||||
--CH1 4095=12.356V 2500=2.75V 2058=95mV
|
||||
--CH2(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>200ŷ)
|
||||
--CH1<48><31>8<EFBFBD><38><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>о<EFBFBD>
|
||||
local dac1 = {2047, -1024, 512, 256, 128, 64, 32, 10}
|
||||
local mid1 = {60760, 4666, 60844, 60785, 60634, 60127, 59042, 46390}
|
||||
local diff1 = {0.02, 0.2, 0.05, 0.06, 0.10, 0.15, 0.18, 0.5} --<2D><><EFBFBD><EFBFBD>ϵ<EFBFBD><CFB5>
|
||||
--CH2<48><32>8<EFBFBD><38><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>о<EFBFBD>
|
||||
local dac2 = {4095, 1024, 512, 256, 128, 64, 32, 16}
|
||||
local mid2 = {43121, 41400, 37714, 37575, 37556, 37494, 37633, 42601}
|
||||
local diff2 = {0.2, 0.1, 0.08, 0.08, 0.08, 0.08, 0.12, 0.17}
|
||||
local str
|
||||
|
||||
print("") delayms(5)
|
||||
print("----<2D><>ʼʾ<CABC><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>·----") delayms(5)
|
||||
start_dso();
|
||||
err = 0
|
||||
|
||||
dac_on() --<2D><><EFBFBD><EFBFBD>DAC<41><43>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA>ƽģʽ
|
||||
|
||||
print("<EFBFBD><EFBFBD><EFBFBD>ڲ<EFBFBD>CH1,DC<44><43><EFBFBD><EFBFBD>...") delayms(5)
|
||||
for i=1,8,1 do
|
||||
write_reg16(0x0202, i-1) -- CH1ͨ<31><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>0-7
|
||||
dac = dac1[i] + 2044
|
||||
dac_write(dac) delayms(500)
|
||||
adc = read_adc(0)
|
||||
errd = mid1[i] * diff1[i];
|
||||
if (adc < mid1[i] - errd or adc > mid1[i] + errd) then
|
||||
err = err + 1
|
||||
--print("dac=", dac) delayms(5)
|
||||
--print(" adc=", adc) delayms(5)
|
||||
--print(" error") delayms(5)
|
||||
str = string.format("dac=%f adc=%f error", dac, adc)
|
||||
print(str) delayms(5)
|
||||
else
|
||||
--print("dac=", dac) delayms(5)
|
||||
--print(" adc=", adc) delayms(5)
|
||||
--print(" ok") delayms(5)
|
||||
str = string.format("dac=%f adc=%f ok", dac, adc)
|
||||
print(str) delayms(5)
|
||||
end
|
||||
end
|
||||
|
||||
print("<EFBFBD><EFBFBD><EFBFBD>ڲ<EFBFBD>CH2,DC<44><43><EFBFBD><EFBFBD>...") delayms(5)
|
||||
for i=1,8,1 do
|
||||
write_reg16(0x0203, i-1) -- CH2ͨ<32><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>0-7
|
||||
dac = dac2[i]
|
||||
dac_write(dac) delayms(500)
|
||||
adc = read_adc(1)
|
||||
errd = mid2[i] * diff2[i];
|
||||
if (adc < mid2[i] - errd or adc > mid2[i] + errd) then
|
||||
err = err + 1
|
||||
str = string.format("dac=%f adc=%f error", dac, adc)
|
||||
print(str) delayms(5)
|
||||
else
|
||||
str = string.format("dac=%f adc=%f ok", dac, adc)
|
||||
print(str) delayms(5)
|
||||
end
|
||||
end
|
||||
|
||||
write_reg16(0x0200, 0) -- CH1<48><31><EFBFBD><EFBFBD>AC
|
||||
write_reg16(0x0201, 0) -- CH2<48><32><EFBFBD><EFBFBD>AC
|
||||
write_reg16(0x0202, 0) -- CH1ͨ<31><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>0
|
||||
write_reg16(0x0203, 0) -- CH2ͨ<32><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>0
|
||||
delayms(2000)
|
||||
adc = read_adc(0)
|
||||
if (adc < 32768 - 400 or adc > 32768 + 400) then
|
||||
print("CH1 AC<41><43><EFBFBD><EFBFBD>", adc, "errpr") delayms(5)
|
||||
err = err + 1
|
||||
else
|
||||
print("CH1 AC<41><43><EFBFBD><EFBFBD>", adc, "ok") delayms(5)
|
||||
end
|
||||
|
||||
adc = read_adc(1)
|
||||
if (adc < 32733 - 400 or adc > 32750 + 400) then
|
||||
print("CH2 AC<41><43><EFBFBD><EFBFBD>", adc, " errpr") delayms(5)
|
||||
err = err + 1
|
||||
else
|
||||
print("CH2 AC<41><43><EFBFBD><EFBFBD>", adc, " ok") delayms(5)
|
||||
end
|
||||
|
||||
::quit::
|
||||
--<2D>ɹ<EFBFBD><C9B9><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD>ʧ<EFBFBD>ܽ<EFBFBD><DCBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
if (err == 0) then
|
||||
print("*****<2A><><EFBFBD><EFBFBD>ͨ<EFBFBD><CDA8>*****")
|
||||
beep()
|
||||
else
|
||||
print("*****<2A><><EFBFBD><EFBFBD>ʧ<EFBFBD><CAA7>*****")
|
||||
beep()
|
||||
delayms(100)
|
||||
beep()
|
||||
delayms(100)
|
||||
beep()
|
||||
end
|
||||
end
|
||||
|
||||
function test_tvcc(void)
|
||||
local err
|
||||
local i
|
||||
local adc
|
||||
|
||||
local mid1 = {2485, 1539, 13919, 4167, 32887, 28079, 50701}
|
||||
local mid2 = {8157, 4809, 46031, 13299, 32887, 28079, 50469}
|
||||
local diff1 = {0.2, 0.2, 0.2, 0.3, 0.1, 0.1, 0.1}
|
||||
local diff2 = {0.1, 0.1, 0.1, 0.2, 0.1, 0.1, 0.1}
|
||||
local name = {"<EFBFBD>߲<EFBFBD><EFBFBD><EFBFBD>ѹ", "<EFBFBD>߲<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", "TVCC<EFBFBD><EFBFBD>ѹ", "TVCC<EFBFBD><EFBFBD><EFBFBD><EFBFBD>", "NTC <20><><EFBFBD><EFBFBD>","12V <20><>ѹ","USB <20><>ѹ"}
|
||||
|
||||
print("") delayms(5)
|
||||
print("----<2D><>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD>TVCC NTC ----") delayms(5)
|
||||
start_dso();
|
||||
err = 0
|
||||
print("TVCC = 120") delayms(5)
|
||||
write_tvcc_dac(120)
|
||||
|
||||
delayms(1000)
|
||||
|
||||
for i = 1,6,1 do
|
||||
adc = read_adc(i+1)
|
||||
errd = mid1[i] * diff1[i];
|
||||
if (adc < mid1[i] - errd or adc > mid1[i] + errd) then
|
||||
err = err + 1
|
||||
print(name[i], adc, "error") delayms(5)
|
||||
print(" <20><>ȷ<EFBFBD><C8B7>Χ = ", mid1[i] - errd, mid1[i] + errd) delayms(5)
|
||||
else
|
||||
print(name[i], adc, "ok") delayms(5)
|
||||
end
|
||||
end
|
||||
|
||||
print("") delayms(5)
|
||||
print("TVCC = 36") delayms(5)
|
||||
write_tvcc_dac(36)
|
||||
delayms(1000)
|
||||
for i = 1,6,1 do
|
||||
adc = read_adc(i+1)
|
||||
errd = mid2[i] * diff2[i];
|
||||
if (adc < mid2[i] - errd or adc > mid2[i] + errd) then
|
||||
err = err + 1
|
||||
print(name[i], adc, "error") delayms(5)
|
||||
print(" <20><>ȷ<EFBFBD><C8B7>Χ = ", mid2[i] - errd, mid2[i] + errd) delayms(5)
|
||||
else
|
||||
print(name[i], adc, "ok") delayms(5)
|
||||
end
|
||||
end
|
||||
|
||||
::quit::
|
||||
--<2D>ɹ<EFBFBD><C9B9><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD>ʧ<EFBFBD>ܽ<EFBFBD><DCBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
if (err == 0) then
|
||||
print("*****<2A><><EFBFBD><EFBFBD>ͨ<EFBFBD><CDA8>*****")
|
||||
beep()
|
||||
else
|
||||
print("*****<2A><><EFBFBD><EFBFBD>ʧ<EFBFBD><CAA7>*****")
|
||||
beep()
|
||||
delayms(100)
|
||||
beep()
|
||||
delayms(100)
|
||||
beep()
|
||||
end
|
||||
end
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,43 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32F003xW.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> : MM32F003TW, MM32F003NW
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32F003/MM32F003_16.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M0_npq_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 2 * 1024
|
||||
|
||||
MCU_ID = 0x0BB11477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF 80 7F 00 FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFE0000, 0x1FFE0002} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
@ -1,171 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<package schemaVersion="1.2" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="PACK.xsd">
|
||||
<vendor>MindMotion</vendor>
|
||||
<url>http://www.mindmotion.com.cn/Download/MDK_KEIL/</url>
|
||||
<name>MM32F003_DFP</name>
|
||||
<description>MindMotion MM32F003 Series Device Support, Drivers and Examples</description>
|
||||
|
||||
<releases>
|
||||
<release version="1.0.3">
|
||||
First Release version of MM32F003 Device Family Pack.
|
||||
</release>
|
||||
</releases>
|
||||
|
||||
<keywords>
|
||||
<!-- keywords for indexing -->
|
||||
<keyword>MindMotion</keyword>
|
||||
<keyword>Device Support</keyword>
|
||||
<keyword>Device Family Package MindMotion</keyword>
|
||||
<keyword>MM32F003</keyword>
|
||||
<keyword>MM32</keyword>
|
||||
</keywords>
|
||||
|
||||
<devices>
|
||||
<!-- generated, do not modify this section! -->
|
||||
|
||||
<family Dfamily="MM32F003 Series" Dvendor="MindMotion:132">
|
||||
<processor Dcore="Cortex-M0" DcoreVersion="r0p0" Dfpu="0" Dmpu = "0" Dendian="Little-endian"/>
|
||||
|
||||
<description>
|
||||
MM32F003 - ARM Cortex-M0 Core
|
||||
Frequency up to 24 MHz,Flash up to 16 KB, SRAM up to 2 KB, Support power saving mode: sleep, and standby mode
|
||||
Analog peripherals 8channels x 12bit, 1us ADC, Up to 1 x UART, Up to 1 x SPI (18Mbit/s), Up to 1 x I2C (400Kbit/s)
|
||||
On-chip resources include : 1 x Advanced Timer, 1 x SysTick Timer, 2 x WDG , 1 x DMA supported, Clock: HSI (48MHz) and LSI (40KHz)
|
||||
|
||||
Core ARM Cortex-M0, 24 MHz
|
||||
Memory 4 kB RAM, 16 kB ROM
|
||||
Clock 24 MHz
|
||||
Communication Other
|
||||
Timer/Counter/PWM
|
||||
Analog 8-channel 12 bit ADC
|
||||
|
||||
</description>
|
||||
|
||||
|
||||
<!-- ************************ Subfamily 'MM32F003' **************************** -->
|
||||
<subFamily DsubFamily="MM32F003">
|
||||
<processor Dclock="24000000"/>
|
||||
|
||||
<!-- ************************* Device 'MM32F003TW' ***************************** -->
|
||||
<device Dname="MM32F003TW">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="24000000"/>
|
||||
<compile header="Device/MM32F003/Include/HAL_device.h" define="MM32F003TW"/>
|
||||
|
||||
<debug svd="SVD/MM32F003.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x4000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x800" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32F003_16.FLM" start="0x08000000" size="0x4000" default="1"/>
|
||||
|
||||
|
||||
|
||||
<book name="Documents/MM32F003/DS_MM32F003_Ver.1.03_q1.pdf" title="MM32F003 Datasheet"/>
|
||||
|
||||
</device>
|
||||
|
||||
<device Dname="MM32F003NW">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="24000000"/>
|
||||
<compile header="Device/MM32F003/Include/HAL_device.h" define="MM32F003NW"/>
|
||||
<debug svd="SVD/MM32F003.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x4000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x800" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32F003_16.FLM" start="0x08000000" size="0x4000" default="1"/>
|
||||
|
||||
<book name="Documents/MM32F003/DS_MM32F003_Ver.1.03_q1.pdf" title="MM32F003 Datasheet"/>
|
||||
|
||||
</device>
|
||||
</subFamily>
|
||||
</family>
|
||||
</devices>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<conditions>
|
||||
<condition id="Compiler ARMCC">
|
||||
<require Tcompiler="ARMCC"/>
|
||||
</condition>
|
||||
|
||||
<condition id="Cortex-M Device">
|
||||
<description>Cortex-M processor based device: one of CM0, CM0+, CM3, CM4, CM7, SC000, SC3000</description>
|
||||
<accept Dcore="Cortex-M0"/>
|
||||
</condition>
|
||||
|
||||
<condition id="ARMCC Cortex-M">
|
||||
<description>ARMCC and Cortex-M</description>
|
||||
<require Tcompiler="ARMCC"/>
|
||||
<require condition="Cortex-M Device"/>
|
||||
</condition>
|
||||
|
||||
<condition id="Cortex-M Device CMSIS Core">
|
||||
<description>ARM Cortex-M device that depends on CMSIS Core component</description>
|
||||
<require condition="Cortex-M Device"/>
|
||||
<require Cclass="CMSIS" Cgroup="CORE"/>
|
||||
</condition>
|
||||
|
||||
<condition id="Cortex-M Device Startup">
|
||||
<description>Only show for Cortex-M based devices. Depends on Device Startup component.</description>
|
||||
<require condition="Cortex-M Device"/>
|
||||
<require Cclass="Device" Cgroup="Startup"/>
|
||||
</condition>
|
||||
|
||||
<condition id="CMSIS Core">
|
||||
<description>CMSIS CORE processor and device specific Startup files</description>
|
||||
<require Cclass="CMSIS" Cgroup="CORE"/>
|
||||
<require Dvendor="MindMotion:132" Dname="MM32F003*"/>
|
||||
</condition>
|
||||
</conditions>
|
||||
|
||||
|
||||
<components> <!-- Cortex-M Device Startup -->
|
||||
<component Cclass="Device" Cgroup="Startup" Cversion="1.0.4" condition="CMSIS Core">
|
||||
<description>System Startup for MindMotion MM32F003 Series devices</description>
|
||||
<files>
|
||||
<file category="header" name="Device/MM32F003/Include/HAL_device.h"/>
|
||||
<file category="header" name="Device/MM32F003/Source/system_MM32F003.h"/>
|
||||
<file category="sourceC" name="Device/MM32F003/Source/system_MM32F003.c" attr="config" version="1.0.4"/>
|
||||
<file category="sourceAsm" name="Device/MM32F003/Source/KEIL_StartAsm/startup_MM32F003.s" attr="config" version="1.0.4" condition="Compiler ARMCC"/>
|
||||
</files>
|
||||
</component>
|
||||
</components>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<boards>
|
||||
<board vendor="MindMotion" name="MM32_MBF003xxn_Board" revision="Ver 1.0" >
|
||||
<description>MindMotion MM32_MBF003xxn_Board Development Board</description>
|
||||
<image small="Images/MiniBoard_small.jpg" large="Images/MiniBoard_big.jpg"/>
|
||||
<mountedDevice deviceIndex="0" Dvendor="MindMotion:132" Dname="MM32F003TW"/>
|
||||
<compatibleDevice deviceIndex="0" Dvendor="MindMotion:132" DsubFamily="MM32F003"/>
|
||||
|
||||
|
||||
<feature type="XTAL" n="8000000"/>
|
||||
<feature type="PWR" n="5" name="USB Powered"/>
|
||||
<feature type="PWR" n="3" m="5" name="External Supply"/>
|
||||
<feature type="Button" n="1" name="Push-buttons: Reset"/>
|
||||
<feature type="LED" n="2" name="LEDs: Power, One user"/>
|
||||
<debugInterface adapter="JTAG/SW" connector="20 pin JTAG (0.1 inch connector)"/>
|
||||
</board>
|
||||
</boards>
|
||||
|
||||
|
||||
<examples>
|
||||
<example name="MM32_MBF003xxn_Board GPIO LED blinky" doc="README.TXT" folder="Boards/MBF003_Boardreg/RegSample/GPIO_LED">
|
||||
<description>MM32_MBF003xxn_Board Blinky example</description>
|
||||
<board name="MM32_MBF003xxn_Board" vendor="MindMotion"/>
|
||||
<project>
|
||||
<environment name="uv" load="KEILPRJ/BLINK.uvprojx"/>
|
||||
</project>
|
||||
<attributes>
|
||||
<component Cclass="CMSIS" Cgroup="CORE"/>
|
||||
<component Cclass="Device" Cgroup="Startup"/>
|
||||
<category>Getting Started</category>
|
||||
</attributes>
|
||||
</example>
|
||||
</examples>
|
||||
</package>
|
@ -1,43 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32F031x4.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32F031/MM32xx_16.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M0_npq_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x0BB11477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF 80 7F 00 FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFE0000, 0x1FFE0002} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
@ -1,43 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32F031x6.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32F031/MM32xx_32.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M0_npq_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x0BB11477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF 80 7F 00 FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFE0000, 0x1FFE0002} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
@ -1,43 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32F031x8.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32F031/MM32xx_64.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M0_npq_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x0BB11477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF 80 7F 00 FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFE0000, 0x1FFE0002} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
@ -1,43 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32F031xB.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32F031/MM32xx_128.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M0_npq_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x0BB11477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF 80 7F 00 FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFE0000, 0x1FFE0002} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,150 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<package schemaVersion="1.2" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="PACK.xsd">
|
||||
<vendor>MindMotion</vendor>
|
||||
<url>http://www.mindmotion.com.cn/Download/MDK_KEIL/</url>
|
||||
<name>MM32F031_DFP</name>
|
||||
<description>MindMotion MM32F031 Series Device Support, Drivers and Examples</description>
|
||||
<releases>
|
||||
<release version="1.3.9">
|
||||
First Release version of MM32F031 Device Family Pack.
|
||||
</release>
|
||||
</releases>
|
||||
<keywords>
|
||||
<!-- keywords for indexing -->
|
||||
<keyword>MindMotion</keyword>
|
||||
<keyword>Device Support</keyword>
|
||||
<keyword>Device Family Package MindMotion</keyword>
|
||||
<keyword>MM32F031</keyword>
|
||||
<keyword>MM32</keyword>
|
||||
</keywords>
|
||||
<devices>
|
||||
<!-- generated, do not modify this section! -->
|
||||
<family Dfamily="MM32F031 Series" Dvendor="MindMotion:132">
|
||||
<processor Dcore="Cortex-M0" DcoreVersion="r0p0" Dfpu="0" Dmpu="0" Dendian="Little-endian"/>
|
||||
<description>
|
||||
MM32F031 - ARM Cortex-M0 Core
|
||||
Frequency up to 72 MHz, Flash up to 128 KB, SRAM up to 8 KB, Support power saving mode: sleep, and standby mode
|
||||
|
||||
Analog peripherals 10 channels x 12bit, 1us ADC, Up to 2 x UART, Up to 2 x SPI (18Mbit/s), Up to 1 x I2C (400Kbit/s)
|
||||
On-chip resources include : 1 x Advanced Timer, 1 x SysTick Timer, 2 x WDG , 1 x DMA supported, Clock: HSI (48MHz) and LSI (40KHz)
|
||||
|
||||
Core ARM Cortex-M0, 72 MHz
|
||||
Memory 8 kB RAM, 128 kB ROM
|
||||
Clock 72 MHz
|
||||
Communication Other
|
||||
Timer/Counter/PWM
|
||||
Analog 10-channel 12 bit ADC
|
||||
</description>
|
||||
<!-- ************************ Subfamily 'MM32F031xB' **************************** -->
|
||||
<subFamily DsubFamily="MM32F031xB">
|
||||
<processor Dclock="72000000"/>
|
||||
<device Dname="MM32F031CBT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="72000000"/>
|
||||
<debug svd="SVD/MM32F031xxn.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x20000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32xx_128.FLM" start="0x08000000" size="0x20000" default="1"/>
|
||||
</device>
|
||||
<device Dname="MM32F031KBT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="72000000"/>
|
||||
<debug svd="SVD/MM32F031xxn.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x20000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32xx_128.FLM" start="0x08000000" size="0x20000" default="1"/>
|
||||
</device>
|
||||
<device Dname="MM32F031KBU">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="72000000"/>
|
||||
<debug svd="SVD/MM32F031xxn.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x20000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32xx_128.FLM" start="0x08000000" size="0x20000" default="1"/>
|
||||
</device>
|
||||
</subFamily>
|
||||
<!-- ************************ Subfamily 'MM32F031x8' **************************** -->
|
||||
<subFamily DsubFamily="MM32F031x8">
|
||||
<processor Dclock="72000000"/>
|
||||
<!-- ************************* Device 'MM32F031C8T' ***************************** -->
|
||||
<device Dname="MM32F031C8T">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="72000000"/>
|
||||
<debug svd="SVD/MM32F031xxn.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32xx_64.FLM" start="0x08000000" size="0x10000" default="1"/>
|
||||
</device>
|
||||
<device Dname="MM32F031K8T">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="72000000"/>
|
||||
<debug svd="SVD/MM32F031xxn.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32xx_64.FLM" start="0x08000000" size="0x10000" default="1"/>
|
||||
</device>
|
||||
<device Dname="MM32F031K8U">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="72000000"/>
|
||||
<debug svd="SVD/MM32F031xxn.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32xx_64.FLM" start="0x08000000" size="0x10000" default="1"/>
|
||||
</device>
|
||||
</subFamily>
|
||||
<!-- ************************ Subfamily 'MM32F031x6' **************************** -->
|
||||
<subFamily DsubFamily="MM32F031x6">
|
||||
<processor Dclock="72000000"/>
|
||||
<!-- ************************* Device 'MM32F031x6' ***************************** -->
|
||||
<device Dname="MM32F031C6T">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="72000000"/>
|
||||
<debug svd="SVD/MM32F031xxq.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x8000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x1000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32xx_32.FLM" start="0x08000000" size="0x8000" default="1"/>
|
||||
</device>
|
||||
<device Dname="MM32F031K6T">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="72000000"/>
|
||||
<debug svd="SVD/MM32F031xxq.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x8000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x1000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32xx_32.FLM" start="0x08000000" size="0x8000" default="1"/>
|
||||
</device>
|
||||
<device Dname="MM32F031K6U">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="72000000"/>
|
||||
<debug svd="SVD/MM32F031xxq.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x8000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x1000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32xx_32.FLM" start="0x08000000" size="0x8000" default="1"/>
|
||||
</device>
|
||||
<device Dname="MM32F031G6U">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="72000000"/>
|
||||
<debug svd="SVD/MM32F031xxq.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x8000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x1000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32xx_32.FLM" start="0x08000000" size="0x8000" default="1"/>
|
||||
</device>
|
||||
<device Dname="MM32F031F6P">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="72000000"/>
|
||||
<debug svd="SVD/MM32F031xxq.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x8000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x1000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32xx_32.FLM" start="0x08000000" size="0x8000" default="1"/>
|
||||
</device>
|
||||
</subFamily>
|
||||
<!-- ************************ Subfamily 'MM32F031x4' **************************** -->
|
||||
<subFamily DsubFamily="MM32F031x4">
|
||||
<processor Dclock="72000000"/>
|
||||
<!-- ************************* Device 'MM32F031x4' ***************************** -->
|
||||
<device Dname="MM32F031K4U">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="72000000"/>
|
||||
<debug svd="SVD/MM32F031xxq.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x4000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x1000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32xx_16.FLM" start="0x08000000" size="0x4000" default="1"/>
|
||||
</device>
|
||||
<device Dname="MM32F031F4P">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="72000000"/>
|
||||
<debug svd="SVD/MM32F031xxq.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x4000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x1000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32xx_16.FLM" start="0x08000000" size="0x4000" default="1"/>
|
||||
</device>
|
||||
</subFamily>
|
||||
</family>
|
||||
</devices>
|
||||
</package>
|
@ -1,43 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32F032x6.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32F032/MM32xx_32.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M0_npq_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x0BB11477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:STM32Ӳ<32><D3B2>CRC32У<32><D0A3>, 2:<3A>鶯Ӳ<E9B6AF><D3B2>CRC32
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF 80 7F 00 FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFE0000, 0x1FFE0002} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
@ -1,43 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32F032x8.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32F032/MM32xx_64.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M0_npq_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x0BB11477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF 80 7F 00 FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFE0000, 0x1FFE0002} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
Binary file not shown.
Binary file not shown.
@ -1,102 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<package schemaVersion="1.2" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="PACK.xsd">
|
||||
<vendor>MindMotion</vendor>
|
||||
<url>http://www.mindmotion.com.cn/Download/MDK_KEIL/</url>
|
||||
<name>MM32F032_DFP</name>
|
||||
<description>MindMotion MM32F032 Series Device Support, Drivers and Examples</description>
|
||||
<releases>
|
||||
<release version="1.0.0">
|
||||
First Release version of MM32 Device Family Pack.
|
||||
</release>
|
||||
</releases>
|
||||
<keywords>
|
||||
<!-- keywords for indexing -->
|
||||
<keyword>MindMotion</keyword>
|
||||
<keyword>Device Support</keyword>
|
||||
<keyword>Device Family Package MindMotion</keyword>
|
||||
<keyword>MM32</keyword>
|
||||
</keywords>
|
||||
<devices>
|
||||
<!-- generated, do not modify this section! -->
|
||||
<family Dfamily="MM32F032 Series" Dvendor="MindMotion:132">
|
||||
<processor Dcore="Cortex-M0" DcoreVersion="r1p0" Dfpu="0" Dmpu="0" Dendian="Little-endian" />
|
||||
<description>
|
||||
MM32F032 - ARM Cortex-M0 Core
|
||||
Frequency up to 72 MHz, Flash up to 64 KB, SRAM up to 16 KB, Support power saving mode: sleep, and standby mode
|
||||
|
||||
Analog peripherals 10 channels x 12bit, 1us ADC, Up to 2 x UART, Up to 2 x SPI (18Mbit/s), Up to 1 x I2C (400Kbit/s)
|
||||
On-chip resources include : 1 x Advanced Timer, 1 x SysTick Timer, 2 x WDG , 1 x DMA supported
|
||||
|
||||
Core ARM Cortex-M0, 72 MHz
|
||||
Memory 16 kB RAM, 64 kB ROM
|
||||
Clock 72 MHz
|
||||
Communication Other
|
||||
Timer/Counter/PWM
|
||||
Analog 10-channel 12 bit ADC
|
||||
</description>
|
||||
<!-- ************************ Subfamily MM32F032x6 **************************** -->
|
||||
<subFamily DsubFamily="MM32F032x6">
|
||||
<device Dname="MM32F032K6U6">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="72000000" />
|
||||
<debug svd="SVD/MM32F032xxxxs.svd" />
|
||||
<memory id="IROM1" start="0x08000000" size="0x8000" startup="1" default="1" />
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init="0" default="1" />
|
||||
<algorithm name="Flash/MM32xx_32.FLM" start="0x08000000" size="0x8000" default="1" />
|
||||
</device>
|
||||
<device Dname="MM32F032K6T6">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="72000000" />
|
||||
<debug svd="SVD/MM32F032xxxxs.svd" />
|
||||
<memory id="IROM1" start="0x08000000" size="0x8000" startup="1" default="1" />
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init="0" default="1" />
|
||||
<algorithm name="Flash/MM32xx_32.FLM" start="0x08000000" size="0x8000" default="1" />
|
||||
</device>
|
||||
<device Dname="MM32F032C6T6">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="72000000" />
|
||||
<debug svd="SVD/MM32F032xxxxs.svd" />
|
||||
<memory id="IROM1" start="0x08000000" size="0x8000" startup="1" default="1" />
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init="0" default="1" />
|
||||
<algorithm name="Flash/MM32xx_32.FLM" start="0x08000000" size="0x8000" default="1" />
|
||||
</device>
|
||||
<device Dname="MM32F032R6T6">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="72000000" />
|
||||
<debug svd="SVD/MM32F032xxxxs.svd" />
|
||||
<memory id="IROM1" start="0x08000000" size="0x8000" startup="1" default="1" />
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init="0" default="1" />
|
||||
<algorithm name="Flash/MM32xx_32.FLM" start="0x08000000" size="0x8000" default="1" />
|
||||
</device>
|
||||
</subFamily>
|
||||
|
||||
<!-- ************************ Subfamily MM32F032x8 **************************** -->
|
||||
<subFamily DsubFamily="MM32F032x8">
|
||||
<device Dname="MM32F032K8U6">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="72000000" />
|
||||
<debug svd="SVD/MM32F032xxxxs.svd" />
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1" />
|
||||
<memory id="IRAM1" start="0x20000000" size="0x4000" init="0" default="1" />
|
||||
<algorithm name="Flash/MM32xx_64.FLM" start="0x08000000" size="0x10000" default="1" />
|
||||
</device>
|
||||
<device Dname="MM32F032K8T6">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="72000000" />
|
||||
<debug svd="SVD/MM32F032xxxxs.svd" />
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1" />
|
||||
<memory id="IRAM1" start="0x20000000" size="0x4000" init="0" default="1" />
|
||||
<algorithm name="Flash/MM32xx_64.FLM" start="0x08000000" size="0x10000" default="1" />
|
||||
</device>
|
||||
<device Dname="MM32F032C8T6">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="72000000" />
|
||||
<debug svd="SVD/MM32F032xxxxs.svd" />
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1" />
|
||||
<memory id="IRAM1" start="0x20000000" size="0x4000" init="0" default="1" />
|
||||
<algorithm name="Flash/MM32xx_64.FLM" start="0x08000000" size="0x10000" default="1" />
|
||||
</device>
|
||||
<device Dname="MM32F032R8T6">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="72000000" />
|
||||
<debug svd="SVD/MM32F032xxxxs.svd" />
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1" />
|
||||
<memory id="IRAM1" start="0x20000000" size="0x4000" init="0" default="1" />
|
||||
<algorithm name="Flash/MM32xx_64.FLM" start="0x08000000" size="0x10000" default="1" />
|
||||
</device>
|
||||
</subFamily>
|
||||
</family>
|
||||
</devices>
|
||||
</package>
|
Binary file not shown.
Binary file not shown.
@ -1,43 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32F103x8.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> : MM32F103x8<78><38>103xB Ϊn<CEAA><6E>, MM32F103xC<78><43>103xEΪo<CEAA><6F>
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32F103/MM32F103_64.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M3_n_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x2BA01477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF 80 7F 00 FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFE0000, 0x1FFE0002} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
@ -1,43 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32F103_128.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32F103/MM32F103_128.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M3_n_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x2BA01477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF 80 7F 00 FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFE0000, 0x1FFE0002} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
@ -1,49 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32F103xC.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32F103/MM32F103xCxE_256.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M3_o_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x2BA01477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFFF810 FFFFFFFF 1FFFF812 FFFFFFFF 1FFFF814 FFFFFFFF 1FFFF816 FFFFFFFF 1FFFF818 FFFFFFFF 1FFFF81A FFFFFFFF 1FFFF81C FFFFFFFF 1FFFF81E FFFFFFFF "
|
||||
.."1FFFF820 FFFFFFFF 1FFFF822 FFFFFFFF 1FFFF824 FFFFFFFF 1FFFF826 FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 1FFE0010 1FFE0011 1FFE0012 1FFE0013 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
.."FF FF FF FF FF FF FF FF "
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
.."FE 01 00 FF 01 FE 00 FF "
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFFF810, 0x1FFFF812, 0x1FFFF814, 0x1FFFF816, 0x1FFFF818, 0x1FFFF81A, 0x1FFFF81C, 0x1FFFF81E,
|
||||
0x1FFFF820, 0x1FFFF822, 0x1FFFF824, 0x1FFFF826,
|
||||
0x1FFE0000, 0x1FFE0002, 0x1FFE0004, 0x1FFE0006} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
Binary file not shown.
Binary file not shown.
@ -1,49 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32F103xE.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32F103/MM32F103xCxE_512.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M3_o_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x2BA01477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFFF810 FFFFFFFF 1FFFF812 FFFFFFFF 1FFFF814 FFFFFFFF 1FFFF816 FFFFFFFF 1FFFF818 FFFFFFFF 1FFFF81A FFFFFFFF 1FFFF81C FFFFFFFF 1FFFF81E FFFFFFFF "
|
||||
.."1FFFF820 FFFFFFFF 1FFFF822 FFFFFFFF 1FFFF824 FFFFFFFF 1FFFF826 FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 1FFE0010 1FFE0011 1FFE0012 1FFE0013 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
.."FF FF FF FF FF FF FF FF "
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
.."FE 01 00 FF 01 FE 00 FF "
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFFF810, 0x1FFFF812, 0x1FFFF814, 0x1FFFF816, 0x1FFFF818, 0x1FFFF81A, 0x1FFFF81C, 0x1FFFF81E,
|
||||
0x1FFFF820, 0x1FFFF822, 0x1FFFF824, 0x1FFFF826,
|
||||
0x1FFE0000, 0x1FFE0002, 0x1FFE0004, 0x1FFE0006} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
@ -1,278 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<package schemaVersion="1.2" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="PACK.xsd">
|
||||
<vendor>MindMotion</vendor>
|
||||
<url>http://www.mindmotion.com.cn/Download/MDK_KEIL/</url>
|
||||
<name>MM32F103x8xB_DFP</name>
|
||||
<description>MindMotion MM32F103 Series Device Support, Drivers and Examples</description>
|
||||
|
||||
<releases>
|
||||
<release version="1.4.6">
|
||||
First Release version of MM32F103 Device Family Pack.
|
||||
</release>
|
||||
</releases>
|
||||
|
||||
<keywords>
|
||||
<!-- keywords for indexing -->
|
||||
<keyword>MindMotion</keyword>
|
||||
<keyword>Device Support</keyword>
|
||||
<keyword>Device Family Package MindMotion</keyword>
|
||||
<keyword>MM32F103</keyword>
|
||||
<keyword>MM32</keyword>
|
||||
</keywords>
|
||||
|
||||
<devices>
|
||||
<!-- generated, do not modify this section! -->
|
||||
|
||||
<family Dfamily="MM32F103 Series" Dvendor="MindMotion:132">
|
||||
<processor Dcore="Cortex-M3" DcoreVersion="r1p0" Dfpu="0" Dmpu = "0" Dendian="Little-endian"/>
|
||||
|
||||
<description>
|
||||
MM32F103x8xB - ARM Cortex-M3 Core
|
||||
Frequency up to 96 MHz, Flash up to 128 KB, SRAM up to 20 KB, Support power saving mode: sleep, and standby mode
|
||||
|
||||
Analog peripherals 16 channels x 12bit, 1us ADC, Up to 2 x ADC, Up to 3 x UART, Up to 2 x SPI (18Mbit/s), Up to 2 x I2C (400Kbit/s), CAN 2.0 B (1Mbit/s), USB 2.0 FS (12Mbit/s)
|
||||
On-chip resources include : 1 x Advanced Timer, 1 x SysTick Timer, 2 x WDG , 1 x DMA supported, Clock: HSI (48MHz) and LSI (40KHz)
|
||||
|
||||
Core ARM Cortex-M0, 96 MHz
|
||||
Memory 20 kB RAM, 128 kB ROM
|
||||
Clock 96 MHz
|
||||
Communication Other
|
||||
Timer/Counter/PWM
|
||||
Analog 16-channel 12 bit ADC
|
||||
</description>
|
||||
|
||||
|
||||
<!-- ************************ Subfamily 'MM32F103xB' **************************** -->
|
||||
<subFamily DsubFamily="MM32F103xB">
|
||||
<processor Dclock="96000000"/>
|
||||
|
||||
<!-- ************************* Device 'MM32F103xB' ***************************** -->
|
||||
<device Dname="MM32F103RBT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000"/>
|
||||
<compile header="Device/MM32F103/Include/HAL_device.h" define="MM32F103RBT"/>
|
||||
<debug svd="SVD/MM32F103.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x20000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x5000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32F103_128.FLM" start="0x08000000" size="0x20000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32F103/PB_MM32F103.pdf" title="MM32F103 Product Brief"/>
|
||||
<book name="Documents/MM32F103/DS_MM32F103.pdf" title="MM32F103 Datasheet"/>
|
||||
|
||||
</device>
|
||||
|
||||
<device Dname="MM32F103CBT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000"/>
|
||||
<compile header="Device/MM32F103/Include/HAL_device.h" define="MM32F103CBT"/>
|
||||
<debug svd="SVD/MM32F103.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x20000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x5000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32F103_128.FLM" start="0x08000000" size="0x20000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32F103/PB_MM32F103.pdf" title="MM32F103 Product Brief"/>
|
||||
<book name="Documents/MM32F103/DS_MM32F103.pdf" title="MM32F103 Datasheet"/>
|
||||
|
||||
</device>
|
||||
|
||||
<device Dname="MM32F103KBT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000"/>
|
||||
<compile header="Device/MM32F103/Include/HAL_device.h" define="MM32F103KBT"/>
|
||||
<debug svd="SVD/MM32F103.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x20000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x5000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32F103_128.FLM" start="0x08000000" size="0x20000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32F103/PB_MM32F103.pdf" title="MM32F103 Product Brief"/>
|
||||
<book name="Documents/MM32F103/DS_MM32F103.pdf" title="MM32F103 Datasheet"/>
|
||||
|
||||
</device>
|
||||
|
||||
<device Dname="MM32F103KBU">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000"/>
|
||||
<compile header="Device/MM32F103/Include/HAL_device.h" define="MM32F103KBU"/>
|
||||
<debug svd="SVD/MM32F103.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x20000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x5000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32F103_128.FLM" start="0x08000000" size="0x20000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32F103/PB_MM32F103.pdf" title="MM32F103 Product Brief"/>
|
||||
<book name="Documents/MM32F103/DS_MM32F103.pdf" title="MM32F103 Datasheet"/>
|
||||
|
||||
</device>
|
||||
</subFamily>
|
||||
|
||||
<!-- ************************ Subfamily 'MM32F103x8' **************************** -->
|
||||
<subFamily DsubFamily="MM32F103x8">
|
||||
<processor Dclock="96000000"/>
|
||||
|
||||
<!-- ************************* Device 'MM32F103x8' ***************************** -->
|
||||
<device Dname="MM32F103R8T">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000"/>
|
||||
<compile header="Device/MM32F103/Include/HAL_device.h" define="MM32F103R8T"/>
|
||||
<debug svd="SVD/MM32F103.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x5000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32F103_64.FLM" start="0x08000000" size="0x10000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32F103/PB_MM32F103.pdf" title="MM32F103 Product Brief"/>
|
||||
<book name="Documents/MM32F103/DS_MM32F103.pdf" title="MM32F103 Datasheet"/>
|
||||
|
||||
</device>
|
||||
|
||||
<device Dname="MM32F103C8T">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000"/>
|
||||
<compile header="Device/MM32F103/Include/HAL_device.h" define="MM32F103C8T"/>
|
||||
<debug svd="SVD/MM32F103.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x5000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32F103_64.FLM" start="0x08000000" size="0x10000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32F103/PB_MM32F103.pdf" title="MM32F103 Product Brief"/>
|
||||
<book name="Documents/MM32F103/DS_MM32F103.pdf" title="MM32F103 Datasheet"/>
|
||||
|
||||
</device>
|
||||
|
||||
<device Dname="MM32F103K8T">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000"/>
|
||||
<compile header="Device/MM32F103/Include/HAL_device.h" define="MM32F103K8T"/>
|
||||
<debug svd="SVD/MM32F103.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x5000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32F103_64.FLM" start="0x08000000" size="0x10000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32F103/PB_MM32F103.pdf" title="MM32F103 Product Brief"/>
|
||||
<book name="Documents/MM32F103/DS_MM32F103.pdf" title="MM32F103 Datasheet"/>
|
||||
|
||||
</device>
|
||||
|
||||
<device Dname="MM32F103K8U">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000"/>
|
||||
<compile header="Device/MM32F103/Include/HAL_device.h" define="MM32F103K8U"/>
|
||||
<debug svd="SVD/MM32F103.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x5000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32F103_64.FLM" start="0x08000000" size="0x10000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32F103/PB_MM32F103.pdf" title="MM32F103 Product Brief"/>
|
||||
<book name="Documents/MM32F103/DS_MM32F103.pdf" title="MM32F103 Datasheet"/>
|
||||
|
||||
</device>
|
||||
</subFamily>
|
||||
|
||||
</family>
|
||||
</devices>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<conditions>
|
||||
<condition id="Compiler ARMCC">
|
||||
<require Tcompiler="ARMCC"/>
|
||||
</condition>
|
||||
|
||||
<!-- add 20170801 start -->
|
||||
<condition id="Cortex-M Device">
|
||||
<description>Cortex-M processor based device: one of CM0, CM0+, CM3, CM4, CM7, SC000, SC3000</description>
|
||||
<accept Dcore="Cortex-M3"/>
|
||||
</condition>
|
||||
|
||||
<condition id="ARMCC Cortex-M">
|
||||
<description>ARMCC and Cortex-M</description>
|
||||
<require Tcompiler="ARMCC"/>
|
||||
<require condition="Cortex-M Device"/>
|
||||
</condition>
|
||||
|
||||
<condition id="Cortex-M Device CMSIS Core">
|
||||
<description>ARM Cortex-M device that depends on CMSIS Core component</description>
|
||||
<require condition="Cortex-M Device"/>
|
||||
<require Cclass="CMSIS" Cgroup="CORE"/>
|
||||
</condition>
|
||||
|
||||
<condition id="Cortex-M Device Startup">
|
||||
<description>Only show for Cortex-M based devices. Depends on Device Startup component.</description>
|
||||
<require condition="Cortex-M Device"/>
|
||||
<require Cclass="Device" Cgroup="Startup"/>
|
||||
</condition>
|
||||
|
||||
|
||||
<condition id="CMSIS Core">
|
||||
<description>CMSIS CORE processor and device specific Startup files</description>
|
||||
<require Cclass="CMSIS" Cgroup="CORE"/>
|
||||
<require Dvendor="MindMotion:132" Dname="MM32F103*" />
|
||||
</condition>
|
||||
</conditions>
|
||||
|
||||
|
||||
<components>
|
||||
|
||||
<component Cclass="Device" Cgroup="Startup" Cversion="1.4.3" condition="CMSIS Core">
|
||||
<description>System Startup for MindMotion MM32F103 Medium density devices</description>
|
||||
<files>
|
||||
<file category="header" name="Device/MM32F103/Include/HAL_device.h"/>
|
||||
<file category="header" name="Device/MM32F103/Source/system_MM32F103.h"/>
|
||||
<file category="sourceC" name="Device/MM32F103/Source/system_MM32F103.c" attr="config" version="1.0.4"/>
|
||||
<file category="sourceAsm" name="Device/MM32F103/Source/KEIL_StartAsm/startup_MM32F103.s" attr="config" version="1.4.3" condition="Compiler ARMCC"/>
|
||||
</files>
|
||||
</component>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</components>
|
||||
|
||||
|
||||
<examples>
|
||||
<!-- MM32_MBF103C_Board Core Board -->
|
||||
|
||||
|
||||
|
||||
<example name="MM32_MBF103CBT_Board GPIO LED blinky" doc="README.TXT" folder="Boards/MBF103R_Boardreg/RegSample/GPIO_LED">
|
||||
<description>MM32_MBF103CBT_Board Blinky example</description>
|
||||
<board name="MM32_MBF103CBT_Board" vendor="MindMotion"/>
|
||||
<project>
|
||||
<environment name="uv" load="KEILPRJ/BLINK.uvprojx"/>
|
||||
</project>
|
||||
<attributes>
|
||||
<component Cclass="CMSIS" Cgroup="CORE"/>
|
||||
<component Cclass="Device" Cgroup="Startup"/>
|
||||
<category>Getting Started</category>
|
||||
</attributes>
|
||||
</example>
|
||||
|
||||
</examples>
|
||||
|
||||
|
||||
<boards>
|
||||
<board vendor="MindMotion" name="MM32_MBF103CBT_Board" revision="Ver 1.0" >
|
||||
<description>MindMotion MM32_MBF103CBT_Board Development Board</description>
|
||||
<image small="Images/MiniBoard_small.jpg" large="Images/MiniBoard_big.jpg"/>
|
||||
<book category="schematic" name="Documents/boards/MM32_MiniBoard_Schematic_Ver1_1.pdf" title="MM32_MBF103_Board Schematics"/>
|
||||
<book category="manual" name="Documents/boards/PB_MM32_MiniBoard_Ver1_1.pdf" title="MM32_MBF103_Board Product Brief"/>
|
||||
<book category="setup" name="Documents/boards/QS_MiniBoard_Quick_Start_Guide_Ver1_2.pdf" title="MM32_MBF103_Board Quick Start Guide"/>
|
||||
<book category="manual" name="Documents/boards/UM_MM32_MiniBoard_Ver1_1.pdf" title="MM32_MBF103_Board UserManual"/>
|
||||
<mountedDevice deviceIndex="0" Dvendor="MindMotion:132" Dname="MM32F103CBT"/>
|
||||
<compatibleDevice deviceIndex="0" Dvendor="MindMotion:132" DsubFamily="MM32F103xB"/>
|
||||
<compatibleDevice deviceIndex="0" Dvendor="MindMotion:132" DsubFamily="MM32F103x8"/>
|
||||
<feature type="XTAL" n="8000000"/>
|
||||
<feature type="PWR" n="5" name="USB Powered"/>
|
||||
<feature type="PWR" n="3" m="5" name="External Supply"/>
|
||||
<feature type="Button" n="1" name="Push-buttons: Reset"/>
|
||||
<feature type="LED" n="2" name="LEDs: Power, One user"/>
|
||||
<debugInterface adapter="JTAG/SW" connector="20 pin JTAG (0.1 inch connector)"/>
|
||||
|
||||
</board>
|
||||
</boards>
|
||||
|
||||
|
||||
</package>
|
@ -1,136 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<package schemaVersion="1.2" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="PACK.xsd">
|
||||
<vendor>MindMotion</vendor>
|
||||
<url>http://www.mindmotion.com.cn/Download/MDK_KEIL/</url>
|
||||
<name>MM32F103xCxE_DFP</name>
|
||||
<description>MindMotion MM32F103xCxE Series Device Support, Drivers and Examples</description>
|
||||
<supportContact>admin@mindmotion.com.cn</supportContact>
|
||||
|
||||
<releases>
|
||||
<release version="1.0.4">
|
||||
First Release version of MM32F103xCxE Device Family Pack.
|
||||
</release>
|
||||
</releases>
|
||||
|
||||
<keywords>
|
||||
<!-- keywords for indexing -->
|
||||
<keyword>MindMotion</keyword>
|
||||
<keyword>MM32F103xCxE</keyword>
|
||||
<keyword>MM32</keyword>
|
||||
</keywords>
|
||||
|
||||
<devices>
|
||||
<!-- generated, do not modify this section! -->
|
||||
|
||||
<family Dfamily="MM32F103 Series" Dvendor="MindMotion:132">
|
||||
<processor Dcore="Cortex-M3" DcoreVersion="r1p0" Dfpu="0" Dmpu="0" Dendian="Little-endian" />
|
||||
|
||||
<description>
|
||||
MM32F103xCxE - ARM Cortex-M3 Core
|
||||
Frequency up to 96 MHz, Flash up to 512 KB, SRAM up to 128 KB, Support power saving mode: sleep, and standby mode.
|
||||
Analog peripherals 7 channels x 12bit, 1us ADC, 1 x ADC, Up to 8 x UART, Up to 3 x SPI (18Mbit/s), Up to 2 x I2C (400Kbit/s), CAN 2.0 B (1Mbit/s), USB 2.0 FS (12Mbit/s).
|
||||
On-chip resources include : 2 x Advanced Timer, 1 x SysTick Timer, 2 x WDG , 2 x DMA supported, Clock: HSI (48MHz) and LSI (40KHz)
|
||||
|
||||
Core ARM Cortex-M0, 96 MHz
|
||||
Memory 128 kB RAM, 512 kB ROM
|
||||
Clock 96 MHz
|
||||
Communication Other
|
||||
Timer/Counter/PWM
|
||||
Analog 7-channel 12 bit ADC
|
||||
</description>
|
||||
|
||||
|
||||
<!-- ************************ Subfamily 'MM32F103xC' **************************** -->
|
||||
<subFamily DsubFamily="MM32F103xC">
|
||||
<processor Dclock="96000000" />
|
||||
|
||||
<!-- ************************* Device 'MM32F103xC' ***************************** -->
|
||||
<device Dname="MM32F103KCU">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000" />
|
||||
<debug svd="SVD/MM32F103xCxE.svd" />
|
||||
<memory id="IROM1" start="0x08000000" size="0x40000" startup="1" default="1" />
|
||||
<memory id="IRAM1" start="0x20000000" size="0x10000" init="0" default="1" />
|
||||
<algorithm name="Flash/MM32F103xCxE_256.FLM" start="0x08000000" size="0x40000" default="1" />
|
||||
</device>
|
||||
|
||||
<device Dname="MM32F103KCT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000" />
|
||||
<debug svd="SVD/MM32F103xCxE.svd" />
|
||||
<memory id="IROM1" start="0x08000000" size="0x40000" startup="1" default="1" />
|
||||
<memory id="IRAM1" start="0x20000000" size="0x10000" init="0" default="1" />
|
||||
<algorithm name="Flash/MM32F103xCxE_256.FLM" start="0x08000000" size="0x40000" default="1" />
|
||||
</device>
|
||||
|
||||
<device Dname="MM32F103CCT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000" />
|
||||
<debug svd="SVD/MM32F103xCxE.svd" />
|
||||
<memory id="IROM1" start="0x08000000" size="0x40000" startup="1" default="1" />
|
||||
<memory id="IRAM1" start="0x20000000" size="0x10000" init="0" default="1" />
|
||||
<algorithm name="Flash/MM32F103xCxE_256.FLM" start="0x08000000" size="0x40000" default="1" />
|
||||
</device>
|
||||
|
||||
<device Dname="MM32F103RCT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000" />
|
||||
<debug svd="SVD/MM32F103xCxE.svd" />
|
||||
<memory id="IROM1" start="0x08000000" size="0x40000" startup="1" default="1" />
|
||||
<memory id="IRAM1" start="0x20000000" size="0x10000" init="0" default="1" />
|
||||
<algorithm name="Flash/MM32F103xCxE_256.FLM" start="0x08000000" size="0x40000" default="1" />
|
||||
</device>
|
||||
|
||||
<device Dname="MM32F103VCT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000" />
|
||||
<debug svd="SVD/MM32F103xCxE.svd" />
|
||||
<memory id="IROM1" start="0x08000000" size="0x40000" startup="1" default="1" />
|
||||
<memory id="IRAM1" start="0x20000000" size="0x10000" init="0" default="1" />
|
||||
<algorithm name="Flash/MM32F103xCxE_256.FLM" start="0x08000000" size="0x40000" default="1" />
|
||||
</device>
|
||||
</subFamily>
|
||||
|
||||
<!-- ************************ Subfamily 'MM32F103xE' **************************** -->
|
||||
<subFamily DsubFamily="MM32F103xE">
|
||||
<processor Dclock="96000000" />
|
||||
|
||||
<device Dname="MM32F103KEU">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000" />
|
||||
<debug svd="SVD/MM32F103xCxE.svd" />
|
||||
<memory id="IROM1" start="0x08000000" size="0x80000" startup="1" default="1" />
|
||||
<memory id="IRAM1" start="0x20000000" size="0x20000" init="0" default="1" />
|
||||
<algorithm name="Flash/MM32F103xCxE_512.FLM" start="0x08000000" size="0x80000" default="1" />
|
||||
</device>
|
||||
|
||||
<device Dname="MM32F103KET">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000" />
|
||||
<debug svd="SVD/MM32F103xCxE.svd" />
|
||||
<memory id="IROM1" start="0x08000000" size="0x80000" startup="1" default="1" />
|
||||
<memory id="IRAM1" start="0x20000000" size="0x20000" init="0" default="1" />
|
||||
<algorithm name="Flash/MM32F103xCxE_512.FLM" start="0x08000000" size="0x80000" default="1" />
|
||||
</device>
|
||||
|
||||
<device Dname="MM32F103CET">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000" />
|
||||
<debug svd="SVD/MM32F103xCxE.svd" />
|
||||
<memory id="IROM1" start="0x08000000" size="0x80000" startup="1" default="1" />
|
||||
<memory id="IRAM1" start="0x20000000" size="0x20000" init="0" default="1" />
|
||||
<algorithm name="Flash/MM32F103xCxE_512.FLM" start="0x08000000" size="0x80000" default="1" />
|
||||
</device>
|
||||
|
||||
<device Dname="MM32F103RET">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000" />
|
||||
<debug svd="SVD/MM32F103xCxE.svd" />
|
||||
<memory id="IROM1" start="0x08000000" size="0x80000" startup="1" default="1" />
|
||||
<memory id="IRAM1" start="0x20000000" size="0x20000" init="0" default="1" />
|
||||
<algorithm name="Flash/MM32F103xCxE_512.FLM" start="0x08000000" size="0x80000" default="1" />
|
||||
</device>
|
||||
|
||||
<device Dname="MM32F103VET">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000" />
|
||||
<debug svd="SVD/MM32F103xCxE.svd" />
|
||||
<memory id="IROM1" start="0x08000000" size="0x80000" startup="1" default="1" />
|
||||
<memory id="IRAM1" start="0x20000000" size="0x20000" init="0" default="1" />
|
||||
<algorithm name="Flash/MM32F103xCxE_512.FLM" start="0x08000000" size="0x80000" default="1" />
|
||||
</device>
|
||||
</subFamily>
|
||||
</family>
|
||||
</devices>
|
||||
</package>
|
@ -1,43 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32L05x.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32L0xx/MM32L0xx_32.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M0_npq_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x0BB11477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF 80 7F 00 FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFE0000, 0x1FFE0002} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
@ -1,43 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32L06x.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32L0xx/MM32L0xx_64.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M0_npq_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x0BB11477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF 80 7F 00 FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFE0000, 0x1FFE0002} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
@ -1,43 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32L07x.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32L0xx/MM32L0xx_128.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M0_npq_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x0BB11477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF 80 7F 00 FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFE0000, 0x1FFE0002} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,536 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<package schemaVersion="1.2" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="PACK.xsd">
|
||||
<vendor>MindMotion</vendor>
|
||||
<url>http://www.mindmotion.com.cn/Download/MDK_KEIL/</url>
|
||||
<name>MM32L0xx_DFP</name>
|
||||
<description>MindMotion MM32L0xx Series Device Support, Drivers and Examples</description>
|
||||
|
||||
<releases>
|
||||
<release version="1.0.8">
|
||||
First Release version of MM32L0xx Device Family Pack.
|
||||
</release>
|
||||
</releases>
|
||||
|
||||
<keywords>
|
||||
<!-- keywords for indexing -->
|
||||
<keyword>MindMotion</keyword>
|
||||
<keyword>Device Support</keyword>
|
||||
<keyword>Device Family Package MindMotion</keyword>
|
||||
<keyword>MM32L0xx</keyword>
|
||||
<keyword>MM32</keyword>
|
||||
</keywords>
|
||||
|
||||
<devices>
|
||||
<!-- generated, do not modify this section! -->
|
||||
|
||||
|
||||
<family Dfamily="MM32L0xx Series" Dvendor="MindMotion:132">
|
||||
<processor Dcore="Cortex-M0" DcoreVersion="r0p0" Dfpu="0" Dmpu = "0" Dendian="Little-endian"/>
|
||||
|
||||
<description>
|
||||
MM32L0xx - ARM Cortex-M0 Core
|
||||
Frequency up to 48 MHz, Flash up to 128 KB, SRAM up to 8 KB, Support power saving mode: sleep, and standby mode
|
||||
Analog peripherals 10 channels x 12bit, 1us ADC, 1 x ADC, Up to 2 x UART, Up to 2 x SPI (18Mbit/s), 1 x I2C (400Kbit/s), CAN 2.0 B (1Mbit/s), USB 2.0 FS (12Mbit/s)
|
||||
On-chip resources include : 1 x Advanced Timer, 1 x SysTick Timer, 2 x WDG , 1 x DMA supported, Clock: HSI (48MHz) and LSI (40KHz)
|
||||
Core ARM Cortex-M0, 48 MHz
|
||||
Memory 8 kB RAM, 128 kB ROM
|
||||
Clock 48 MHz
|
||||
Communication Other
|
||||
Timer/Counter/PWM
|
||||
Analog 10-channel 12 bit ADC
|
||||
</description>
|
||||
|
||||
<!-- ************************ Subfamily 'MM32L05x' **************************** -->
|
||||
<subFamily DsubFamily="MM32L05x">
|
||||
<processor Dclock="48000000"/>
|
||||
|
||||
<!-- ************************* Device 'MM32L05x' ***************************** -->
|
||||
<device Dname="MM32L050PF">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32L0xx/Include/HAL_device.h" define="MM32L050PF"/>
|
||||
<debug svd="SVD/MM32L0xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x8000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x1000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L0xx_32.FLM" start="0x08000000" size="0x8000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32L0x0/PB_MM32L050.pdf" title="MM32L0x0 Product Brief"/>
|
||||
<book name="Documents/MM32L0x0/DS_MM32L0x0.pdf" title="MM32L0x0 Datasheet"/>
|
||||
|
||||
</device>
|
||||
|
||||
<device Dname="MM32L050PT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32L0xx/Include/HAL_device.h" define="MM32L050PT"/>
|
||||
<debug svd="SVD/MM32L0xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x8000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x1000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L0xx_32.FLM" start="0x08000000" size="0x8000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32L0x0/PB_MM32L050.pdf" title="MM32L0x0 Product Brief"/>
|
||||
<book name="Documents/MM32L0x0/DS_MM32L0x0.pdf" title="MM32L0x0 Datasheet"/>
|
||||
|
||||
</device>
|
||||
|
||||
<device Dname="MM32L050NT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32L0xx/Include/HAL_device.h" define="MM32L050NT"/>
|
||||
<debug svd="SVD/MM32L0xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x8000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x1000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L0xx_32.FLM" start="0x08000000" size="0x8000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32L0x0/PB_MM32L050.pdf" title="MM32L0x0 Product Brief"/>
|
||||
<book name="Documents/MM32L0x0/DS_MM32L0x0.pdf" title="MM32L0x0 Datasheet"/>
|
||||
|
||||
</device>
|
||||
|
||||
<device Dname="MM32L050TW">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32L0xx/Include/HAL_device.h" define="MM32L050TW"/>
|
||||
<debug svd="SVD/MM32L0xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x8000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x1000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L0xx_32.FLM" start="0x08000000" size="0x8000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32L0x0/PB_MM32L050.pdf" title="MM32L0x0 Product Brief"/>
|
||||
<book name="Documents/MM32L0x0/DS_MM32L0x0.pdf" title="MM32L0x0 Datasheet"/>
|
||||
|
||||
</device>
|
||||
|
||||
|
||||
<device Dname="MM32L051PF">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32L0xx/Include/HAL_device.h" define="MM32L051PF"/>
|
||||
<debug svd="SVD/MM32L0xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x8000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x1000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L0xx_32.FLM" start="0x08000000" size="0x8000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32L0x1/PB_MM32L051.pdf" title="MM32L0x1 Product Brief"/>
|
||||
<book name="Documents/MM32L0x1/DS_MM32L0x1.pdf" title="MM32L0x1 Datasheet"/>
|
||||
|
||||
</device>
|
||||
<device Dname="MM32L051PT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32L0xx/Include/HAL_device.h" define="MM32L051PT"/>
|
||||
<debug svd="SVD/MM32L0xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x8000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x1000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L0xx_32.FLM" start="0x08000000" size="0x8000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32L0x1/PB_MM32L051.pdf" title="MM32L0x1 Product Brief"/>
|
||||
<book name="Documents/MM32L0x1/DS_MM32L0x1.pdf" title="MM32L0x1 Datasheet"/>
|
||||
|
||||
</device>
|
||||
<device Dname="MM32L051NT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32L0xx/Include/HAL_device.h" define="MM32L051NT"/>
|
||||
<debug svd="SVD/MM32L0xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x8000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x1000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L0xx_32.FLM" start="0x08000000" size="0x8000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32L0x1/PB_MM32L051.pdf" title="MM32L0x1 Product Brief"/>
|
||||
<book name="Documents/MM32L0x1/DS_MM32L0x1.pdf" title="MM32L0x1 Datasheet"/>
|
||||
|
||||
</device>
|
||||
<device Dname="MM32L051TW">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32L0xx/Include/HAL_device.h" define="MM32L051TW"/>
|
||||
<debug svd="SVD/MM32L0xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x8000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x1000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L0xx_32.FLM" start="0x08000000" size="0x8000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32L0x1/PB_MM32L051.pdf" title="MM32L0x1 Product Brief"/>
|
||||
<book name="Documents/MM32L0x1/DS_MM32L0x1.pdf" title="MM32L0x1 Datasheet"/>
|
||||
|
||||
</device>
|
||||
<device Dname="MM32L052PF">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32L0xx/Include/HAL_device.h" define="MM32L052PF"/>
|
||||
<debug svd="SVD/MM32L0xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x8000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x1000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L0xx_32.FLM" start="0x08000000" size="0x8000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32L0x1/PB_MM32L051.pdf" title="MM32L0x1 Product Brief"/>
|
||||
<book name="Documents/MM32L0x1/DS_MM32L0x1.pdf" title="MM32L0x1 Datasheet"/>
|
||||
|
||||
</device>
|
||||
<device Dname="MM32L052PT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32L0xx/Include/HAL_device.h" define="MM32L052PT"/>
|
||||
<debug svd="SVD/MM32L0xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x8000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x1000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L0xx_32.FLM" start="0x08000000" size="0x8000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32L0x1/PB_MM32L051.pdf" title="MM32L0x1 Product Brief"/>
|
||||
<book name="Documents/MM32L0x1/DS_MM32L0x1.pdf" title="MM32L0x1 Datasheet"/>
|
||||
|
||||
</device>
|
||||
<device Dname="MM32L052NT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32L0xx/Include/HAL_device.h" define="MM32L052NT"/>
|
||||
<debug svd="SVD/MM32L0xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x8000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x1000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L0xx_32.FLM" start="0x08000000" size="0x8000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32L0x1/PB_MM32L051.pdf" title="MM32L0x1 Product Brief"/>
|
||||
<book name="Documents/MM32L0x1/DS_MM32L0x1.pdf" title="MM32L0x1 Datasheet"/>
|
||||
|
||||
</device>
|
||||
</subFamily>
|
||||
<!-- ************************ Subfamily 'MM32L06x' **************************** -->
|
||||
<subFamily DsubFamily="MM32L06x">
|
||||
<processor Dclock="48000000"/>
|
||||
|
||||
<!-- ************************* Device 'MM32L06x' ***************************** -->
|
||||
|
||||
|
||||
<device Dname="MM32L061PF">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32L0xx/Include/HAL_device.h" define="MM32L061PF"/>
|
||||
<debug svd="SVD/MM32L0xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L0xx_64.FLM" start="0x08000000" size="0x10000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32L0x1/PB_MM32L051.pdf" title="MM32L0x1 Product Brief"/>
|
||||
<book name="Documents/MM32L0x1/DS_MM32L0x1.pdf" title="MM32L0x1 Datasheet"/>
|
||||
|
||||
</device>
|
||||
<device Dname="MM32L061PT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32L0xx/Include/HAL_device.h" define="MM32L061PT"/>
|
||||
<debug svd="SVD/MM32L0xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L0xx_64.FLM" start="0x08000000" size="0x10000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32L0x1/PB_MM32L051.pdf" title="MM32L0x1 Product Brief"/>
|
||||
<book name="Documents/MM32L0x1/DS_MM32L0x1.pdf" title="MM32L0x1 Datasheet"/>
|
||||
|
||||
</device>
|
||||
<device Dname="MM32L061NT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32L0xx/Include/HAL_device.h" define="MM32L061NT"/>
|
||||
<debug svd="SVD/MM32L0xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L0xx_64.FLM" start="0x08000000" size="0x10000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32L0x1/PB_MM32L051.pdf" title="MM32L0x1 Product Brief"/>
|
||||
<book name="Documents/MM32L0x1/DS_MM32L0x1.pdf" title="MM32L0x1 Datasheet"/>
|
||||
|
||||
</device>
|
||||
<device Dname="MM32L061TW">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32L0xx/Include/HAL_device.h" define="MM32L061TW"/>
|
||||
<debug svd="SVD/MM32L0xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L0xx_64.FLM" start="0x08000000" size="0x10000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32L0x1/PB_MM32L051.pdf" title="MM32L0x1 Product Brief"/>
|
||||
<book name="Documents/MM32L0x1/DS_MM32L0x1.pdf" title="MM32L0x1 Datasheet"/>
|
||||
|
||||
</device>
|
||||
|
||||
<device Dname="MM32L062PF">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32L0xx/Include/HAL_device.h" define="MM32L062PF"/>
|
||||
<debug svd="SVD/MM32L0xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L0xx_64.FLM" start="0x08000000" size="0x10000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32L0x2/PB_MM32L062.pdf" title="MM32L0x2 Product Brief"/>
|
||||
<book name="Documents/MM32L0x2/DS_MM32L0x2.pdf" title="MM32L0x2 Datasheet"/>
|
||||
|
||||
</device>
|
||||
<device Dname="MM32L062PT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32L0xx/Include/HAL_device.h" define="MM32L062PT"/>
|
||||
<debug svd="SVD/MM32L0xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L0xx_64.FLM" start="0x08000000" size="0x10000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32L0x2/PB_MM32L062.pdf" title="MM32L0x2 Product Brief"/>
|
||||
<book name="Documents/MM32L0x2/DS_MM32L0x2.pdf" title="MM32L0x2 Datasheet"/>
|
||||
|
||||
</device>
|
||||
<device Dname="MM32L062NT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32L0xx/Include/HAL_device.h" define="MM32L062NT"/>
|
||||
<debug svd="SVD/MM32L0xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L0xx_64.FLM" start="0x08000000" size="0x10000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32L0x2/PB_MM32L062.pdf" title="MM32L0x2 Product Brief"/>
|
||||
<book name="Documents/MM32L0x2/DS_MM32L0x2.pdf" title="MM32L0x2 Datasheet"/>
|
||||
|
||||
</device>
|
||||
<device Dname="MM32L062TW">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32L0xx/Include/HAL_device.h" define="MM32L062TW"/>
|
||||
<debug svd="SVD/MM32L0xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L0xx_64.FLM" start="0x08000000" size="0x10000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32L0x2/PB_MM32L062.pdf" title="MM32L0x2 Product Brief"/>
|
||||
<book name="Documents/MM32L0x2/DS_MM32L0x2.pdf" title="MM32L0x2 Datasheet"/>
|
||||
|
||||
</device>
|
||||
</subFamily>
|
||||
<!-- ************************ Subfamily 'MM32L07x' **************************** -->
|
||||
<subFamily DsubFamily="MM32L07x">
|
||||
<processor Dclock="48000000"/>
|
||||
|
||||
<!-- ************************* Device 'MM32L07x' ***************************** -->
|
||||
|
||||
|
||||
<device Dname="MM32L072NT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32L0xx/Include/HAL_device.h" define="MM32L072NT"/>
|
||||
<debug svd="SVD/MM32L0xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x20000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L0xx_128.FLM" start="0x08000000" size="0x20000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32L0x2/PB_MM32L072.pdf" title="MM32L0x2 Product Brief"/>
|
||||
<book name="Documents/MM32L0x2/DS_MM32L0x2.pdf" title="MM32L0x2 Datasheet"/>
|
||||
|
||||
</device>
|
||||
<device Dname="MM32L072PT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32L0xx/Include/HAL_device.h" define="MM32L072PT"/>
|
||||
<debug svd="SVD/MM32L0xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x20000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L0xx_128.FLM" start="0x08000000" size="0x20000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32L0x2/PB_MM32L072.pdf" title="MM32L0x2 Product Brief"/>
|
||||
<book name="Documents/MM32L0x2/DS_MM32L0x2.pdf" title="MM32L0x2 Datasheet"/>
|
||||
|
||||
</device>
|
||||
<device Dname="MM32L072PF">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32L0xx/Include/HAL_device.h" define="MM32L072PF"/>
|
||||
<debug svd="SVD/MM32L0xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x20000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L0xx_128.FLM" start="0x08000000" size="0x20000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32L0x2/PB_MM32L072.pdf" title="MM32L0x2 Product Brief"/>
|
||||
<book name="Documents/MM32L0x2/DS_MM32L0x2.pdf" title="MM32L0x2 Datasheet"/>
|
||||
|
||||
</device>
|
||||
<device Dname="MM32L072TW">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32L0xx/Include/HAL_device.h" define="MM32L072TW"/>
|
||||
<debug svd="SVD/MM32L0xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x20000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L0xx_128.FLM" start="0x08000000" size="0x20000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32L0x2/PB_MM32L072.pdf" title="MM32L0x2 Product Brief"/>
|
||||
<book name="Documents/MM32L0x2/DS_MM32L0x2.pdf" title="MM32L0x2 Datasheet"/>
|
||||
|
||||
</device>
|
||||
|
||||
<device Dname="MM32L073TW">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32L0xx/Include/HAL_device.h" define="MM32L073TW"/>
|
||||
<debug svd="SVD/MM32L0xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x20000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L0xx_128.FLM" start="0x08000000" size="0x20000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32L0x3/PB_MM32L073.pdf" title="MM32L0x3 Product Brief"/>
|
||||
<book name="Documents/MM32L0x3/DS_MM32L0x3.pdf" title="MM32L0x3 Datasheet"/>
|
||||
|
||||
</device>
|
||||
|
||||
<device Dname="MM32L073NT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32L0xx/Include/HAL_device.h" define="MM32L073NT"/>
|
||||
<debug svd="SVD/MM32L0xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x20000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L0xx_128.FLM" start="0x08000000" size="0x20000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32L0x3/PB_MM32L073.pdf" title="MM32L0x3 Product Brief"/>
|
||||
<book name="Documents/MM32L0x3/DS_MM32L0x3.pdf" title="MM32L0x3 Datasheet"/>
|
||||
|
||||
</device>
|
||||
<device Dname="MM32L073PT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32L0xx/Include/HAL_device.h" define="MM32L073PT"/>
|
||||
<debug svd="SVD/MM32L0xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x20000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L0xx_128.FLM" start="0x08000000" size="0x20000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32L0x3/PB_MM32L073.pdf" title="MM32L0x3 Product Brief"/>
|
||||
<book name="Documents/MM32L0x3/DS_MM32L0x3.pdf" title="MM32L0x3 Datasheet"/>
|
||||
|
||||
</device>
|
||||
<device Dname="MM32L073PF">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32L0xx/Include/HAL_device.h" define="MM32L073PF"/>
|
||||
<debug svd="SVD/MM32L0xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x20000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init ="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L0xx_128.FLM" start="0x08000000" size="0x20000" default="1"/>
|
||||
|
||||
|
||||
<book name="Documents/MM32L0x3/PB_MM32L073.pdf" title="MM32L0x3 Product Brief"/>
|
||||
<book name="Documents/MM32L0x3/DS_MM32L0x3.pdf" title="MM32L0x3 Datasheet"/>
|
||||
|
||||
</device>
|
||||
</subFamily>
|
||||
</family>
|
||||
|
||||
</devices>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<conditions> <!-- conditions are dependency rules that can apply to a component or an individual file -->
|
||||
<!-- Compiler Conditions -->
|
||||
<condition id="Compiler ARMCC">
|
||||
<require Tcompiler="ARMCC"/>
|
||||
</condition>
|
||||
|
||||
<!-- add 20160418 start -->
|
||||
<condition id="Cortex-M Device">
|
||||
<description>Cortex-M processor based device: one of CM0, CM0+, CM3, CM4, CM7, SC000, SC3000</description>
|
||||
<accept Dcore="Cortex-M0"/>
|
||||
</condition>
|
||||
|
||||
<condition id="ARMCC Cortex-M">
|
||||
<description>ARMCC and Cortex-M</description>
|
||||
<require Tcompiler="ARMCC"/>
|
||||
<require condition="Cortex-M Device"/>
|
||||
</condition>
|
||||
|
||||
<condition id="Cortex-M Device CMSIS Core">
|
||||
<description>ARM Cortex-M device that depends on CMSIS Core component</description>
|
||||
<require condition="Cortex-M Device"/>
|
||||
<require Cclass="CMSIS" Cgroup="CORE"/>
|
||||
</condition>
|
||||
|
||||
<condition id="Cortex-M Device Startup">
|
||||
<description>Only show for Cortex-M based devices. Depends on Device Startup component.</description>
|
||||
<require condition="Cortex-M Device"/>
|
||||
<require Cclass="Device" Cgroup="Startup"/>
|
||||
</condition>
|
||||
|
||||
<condition id="CMSIS Core">
|
||||
<description>CMSIS CORE processor and device specific Startup files</description>
|
||||
<require Cclass="CMSIS" Cgroup="CORE"/>
|
||||
<require Dvendor="MindMotion:132" Dname="MM32L0*"/>
|
||||
</condition>
|
||||
</conditions>
|
||||
|
||||
|
||||
<components>
|
||||
<!-- CMSIS-Core component not required, is coming from CMSIS Pack -->
|
||||
|
||||
<!-- Startup MM32L0xx -->
|
||||
<component Cclass="Device" Cgroup="Startup" Cversion="1.0.7" condition="CMSIS Core">
|
||||
<description>System Startup for MindMotion MM32L0xx Series devices</description>
|
||||
<files>
|
||||
<file category="header" name="Device/MM32L0xx/Include/HAL_device.h"/>
|
||||
<file category="header" name="Device/MM32L0xx/Source/system_MM32L0xx.h"/>
|
||||
<file category="sourceC" name="Device/MM32L0xx/Source/system_MM32L0xx.c" attr="config" version="1.0.7"/>
|
||||
<file category="sourceAsm" name="Device/MM32L0xx/Source/KEIL_StartAsm/startup_MM32L0xx.s" attr="config" version="1.0.7" condition="Compiler ARMCC"/>
|
||||
|
||||
</files>
|
||||
</component>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</components>
|
||||
|
||||
|
||||
<examples>
|
||||
<!-- MM32_MBL0xxPF_Board Core Board -->
|
||||
|
||||
<example name="MM32_MBL0xxPF_Board GPIO LED blinky" doc="README.TXT" folder="Boards/MBL0xxPF_Boardreg/RegSample/GPIO_LED">
|
||||
<description>MM32_MBL0xxPF_Board Blinky example</description>
|
||||
<board name="MM32_MBL0xxPF_Board" vendor="MindMotion"/>
|
||||
<project>
|
||||
<environment name="uv" load="KEILPRJ/BLINK.uvprojx"/>
|
||||
</project>
|
||||
<attributes>
|
||||
<component Cclass="CMSIS" Cgroup="CORE"/>
|
||||
<component Cclass="Device" Cgroup="Startup"/>
|
||||
<category>Getting Started</category>
|
||||
</attributes>
|
||||
</example>
|
||||
|
||||
</examples>
|
||||
|
||||
|
||||
<boards>
|
||||
<board vendor="MindMotion" name="MM32_MBL0xxPF_Board" revision="Ver 1.0" >
|
||||
<description>MindMotion MM32_MBL0xxPF_Board Development Board</description>
|
||||
<image small="Images/MiniBoard_small.jpg" large="Images/MiniBoard_big.jpg"/>
|
||||
<book category="schematic" name="Documents/boards/MM32_MiniBoard_Schematic_Ver1_1.pdf" title="MM32_MBL0xxPF_Board Schematics"/>
|
||||
<book category="manual" name="Documents/boards/PB_MM32_MiniBoard_Ver1_1.pdf" title="MM32_MBL0xxPF_Board Product Brief"/>
|
||||
<book category="setup" name="Documents/boards/QS_MiniBoard_Quick_Start_Guide_Ver1_2.pdf" title="MM32_MBL0xxPF_Board Quick Start Guide"/>
|
||||
<book category="manual" name="Documents/boards/UM_MM32_MiniBoard_Ver1_1.pdf" title="MM32_MBL0xxPF_Board UserManual"/>
|
||||
<mountedDevice deviceIndex="0" Dvendor="MindMotion:132" Dname="MM32L073PF"/>
|
||||
<compatibleDevice deviceIndex="0" Dvendor="MindMotion:132" DsubFamily="MM32L07x"/>
|
||||
<compatibleDevice deviceIndex="0" Dvendor="MindMotion:132" DsubFamily="MM32L06x"/>
|
||||
<compatibleDevice deviceIndex="0" Dvendor="MindMotion:132" DsubFamily="MM32L05x"/>
|
||||
<feature type="XTAL" n="8000000"/>
|
||||
<feature type="PWR" n="5" name="USB Powered"/>
|
||||
<feature type="PWR" n="3" m="5" name="External Supply"/>
|
||||
<feature type="Button" n="1" name="Push-buttons: Reset"/>
|
||||
<feature type="LED" n="2" name="LEDs: Power, One user"/>
|
||||
<debugInterface adapter="JTAG/SW" connector="20 pin JTAG (0.1 inch connector)"/>
|
||||
|
||||
</board>
|
||||
</boards>
|
||||
|
||||
|
||||
</package>
|
@ -1,43 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32L36x.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32L3xx/MM32L3xx_64.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M3_n_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x2BA01477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF 80 7F 00 FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFE0000, 0x1FFE0002} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
@ -1,43 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32L37x.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32L3xx/MM32L3xx_128.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M3_n_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x2BA01477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF 80 7F 00 FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFE0000, 0x1FFE0002} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
@ -1,49 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32L38xB.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32F103/MM32F103xCxE_256.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M3_o_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x2BA01477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFFF810 FFFFFFFF 1FFFF812 FFFFFFFF 1FFFF814 FFFFFFFF 1FFFF816 FFFFFFFF 1FFFF818 FFFFFFFF 1FFFF81A FFFFFFFF 1FFFF81C FFFFFFFF 1FFFF81E FFFFFFFF "
|
||||
.."1FFFF820 FFFFFFFF 1FFFF822 FFFFFFFF 1FFFF824 FFFFFFFF 1FFFF826 FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 1FFE0010 1FFE0011 1FFE0012 1FFE0013 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
.."FF FF FF FF FF FF FF FF "
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
.."FE 01 00 FF 01 FE 00 FF "
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFFF810, 0x1FFFF812, 0x1FFFF814, 0x1FFFF816, 0x1FFFF818, 0x1FFFF81A, 0x1FFFF81C, 0x1FFFF81E,
|
||||
0x1FFFF820, 0x1FFFF822, 0x1FFFF824, 0x1FFFF826,
|
||||
0x1FFE0000, 0x1FFE0002, 0x1FFE0004, 0x1FFE0006} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
@ -1,49 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32L39xB.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32F103/MM32F103xCxE_512.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M3_o_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x2BA01477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFFF810 FFFFFFFF 1FFFF812 FFFFFFFF 1FFFF814 FFFFFFFF 1FFFF816 FFFFFFFF 1FFFF818 FFFFFFFF 1FFFF81A FFFFFFFF 1FFFF81C FFFFFFFF 1FFFF81E FFFFFFFF "
|
||||
.."1FFFF820 FFFFFFFF 1FFFF822 FFFFFFFF 1FFFF824 FFFFFFFF 1FFFF826 FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 1FFE0010 1FFE0011 1FFE0012 1FFE0013 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
.."FF FF FF FF FF FF FF FF "
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
.."FE 01 00 FF 01 FE 00 FF "
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFFF810, 0x1FFFF812, 0x1FFFF814, 0x1FFFF816, 0x1FFFF818, 0x1FFFF81A, 0x1FFFF81C, 0x1FFFF81E,
|
||||
0x1FFFF820, 0x1FFFF822, 0x1FFFF824, 0x1FFFF826,
|
||||
0x1FFE0000, 0x1FFE0002, 0x1FFE0004, 0x1FFE0006} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
Binary file not shown.
Binary file not shown.
@ -1,208 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<package schemaVersion="1.2" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="PACK.xsd">
|
||||
<vendor>MindMotion</vendor>
|
||||
<url>http://www.mindmotion.com.cn/Download/MDK_KEIL/</url>
|
||||
<name>MM32L3xx_DFP</name>
|
||||
<description>MindMotion MM32L3xx Series Device Support, Drivers and Examples</description>
|
||||
<releases>
|
||||
<release version="1.0.6">
|
||||
First Release version of MM32L3xx Device Family Pack.
|
||||
</release>
|
||||
</releases>
|
||||
<keywords>
|
||||
<!-- keywords for indexing -->
|
||||
<keyword>MindMotion</keyword>
|
||||
<keyword>Device Support</keyword>
|
||||
<keyword>Device Family Package MindMotion</keyword>
|
||||
<keyword>MM32L3xx</keyword>
|
||||
<keyword>MM32</keyword>
|
||||
</keywords>
|
||||
<devices>
|
||||
<!-- generated, do not modify this section! -->
|
||||
<family Dfamily="MM32L3xx Series" Dvendor="MindMotion:132">
|
||||
<processor Dcore="Cortex-M3" DcoreVersion="r1p0" Dfpu="0" Dmpu="0" Dendian="Little-endian"/>
|
||||
<description>
|
||||
MM32L3xx - ARM Cortex-M3 Core
|
||||
Frequency up to 96 MHz,Flash up to 128 KB, SRAM up to 20 KB, Support power saving mode: sleep, and standby mode
|
||||
Analog peripherals 16 channels x 12bit, 1us ADC, 1 x ADC, Up to 3 x UART, Up to 2 x SPI (18Mbit/s), Up to 2 x I2C (400Kbit/s), CAN 2.0 B (1Mbit/s), USB 2.0 FS Device(12Mbit/s)
|
||||
On-chip resources include : 1 x Advanced Timer, 1 x SysTick Timer, 2 x WDG , 1 x DMA supported, Clock: HSI (48MHz) and LSI (40KHz)
|
||||
|
||||
Core ARM Cortex-M3, 96 MHz
|
||||
Memory 20 kB RAM, 128 kB ROM
|
||||
Clock 96 MHz
|
||||
Communication Other
|
||||
Timer/Counter/PWM
|
||||
Analog 16-channel 12 bit ADC
|
||||
</description>
|
||||
<!-- ************************ Subfamily 'MM32L36x' **************************** -->
|
||||
<subFamily DsubFamily="MM32L36x">
|
||||
<processor Dclock="96000000"/>
|
||||
<!-- ************************* Device 'MM32L36x' ***************************** -->
|
||||
<device Dname="MM32L362NT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000"/>
|
||||
<compile header="Device/MM32L3xx/Include/HAL_device.h" define="MM32L362NT"/>
|
||||
<debug svd="SVD/MM32L3xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x5000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L3xx_64.FLM" start="0x08000000" size="0x10000" default="1"/>
|
||||
<book name="Documents/MM32L3x2/PB_MM32L362.pdf" title="MM32L3x2 Product Brief"/>
|
||||
<book name="Documents/MM32L3x2/DS_MM32L3x2.pdf" title="MM32L3x2 Datasheet"/>
|
||||
</device>
|
||||
<device Dname="MM32L362PT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000"/>
|
||||
<compile header="Device/MM32L3xx/Include/HAL_device.h" define="MM32L362PT"/>
|
||||
<debug svd="SVD/MM32L3xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x5000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L3xx_64.FLM" start="0x08000000" size="0x10000" default="1"/>
|
||||
<book name="Documents/MM32L3x2/PB_MM32L362.pdf" title="MM32L3x2 Product Brief"/>
|
||||
<book name="Documents/MM32L3x2/DS_MM32L3x2.pdf" title="MM32L3x2 Datasheet"/>
|
||||
</device>
|
||||
<device Dname="MM32L362PF">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000"/>
|
||||
<compile header="Device/MM32L3xx/Include/HAL_device.h" define="MM32L362PF"/>
|
||||
<debug svd="SVD/MM32L3xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x5000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L3xx_64.FLM" start="0x08000000" size="0x10000" default="1"/>
|
||||
<book name="Documents/MM32L3x2/PB_MM32L362.pdf" title="MM32L3x2 Product Brief"/>
|
||||
<book name="Documents/MM32L3x2/DS_MM32L3x2.pdf" title="MM32L3x2 Datasheet"/>
|
||||
</device>
|
||||
<device Dname="MM32L362PS">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000"/>
|
||||
<compile header="Device/MM32L3xx/Include/HAL_device.h" define="MM32L362PS"/>
|
||||
<debug svd="SVD/MM32L3xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x5000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L3xx_64.FLM" start="0x08000000" size="0x10000" default="1"/>
|
||||
<book name="Documents/MM32L3x2/PB_MM32L362.pdf" title="MM32L3x2 Product Brief"/>
|
||||
<book name="Documents/MM32L3x2/DS_MM32L3x2.pdf" title="MM32L3x2 Datasheet"/>
|
||||
</device>
|
||||
</subFamily>
|
||||
<!-- ************************ Subfamily 'MM32L37x' **************************** -->
|
||||
<subFamily DsubFamily="MM32L37x">
|
||||
<processor Dclock="96000000"/>
|
||||
<!-- ************************* Device 'MM32L37x' ***************************** -->
|
||||
<device Dname="MM32L373NT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000"/>
|
||||
<compile header="Device/MM32L3xx/Include/HAL_device.h" define="MM32L373NT"/>
|
||||
<debug svd="SVD/MM32L3xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x20000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x5000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L3xx_128.FLM" start="0x08000000" size="0x20000" default="1"/>
|
||||
<book name="Documents/MM32L3x3/PB_MM32L373.pdf" title="MM32L3x3 Product Brief"/>
|
||||
<book name="Documents/MM32L3x3/DS_MM32L373.pdf" title="MM32L3x3 Datasheet"/>
|
||||
</device>
|
||||
<device Dname="MM32L373PT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000"/>
|
||||
<compile header="Device/MM32L3xx/Include/HAL_device.h" define="MM32L373PT"/>
|
||||
<debug svd="SVD/MM32L3xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x20000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x5000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L3xx_128.FLM" start="0x08000000" size="0x20000" default="1"/>
|
||||
<book name="Documents/MM32L3x3/PB_MM32L373.pdf" title="MM32L3x3 Product Brief"/>
|
||||
<book name="Documents/MM32L3x3/DS_MM32L373.pdf" title="MM32L3x3 Datasheet"/>
|
||||
</device>
|
||||
<device Dname="MM32L373PF">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000"/>
|
||||
<compile header="Device/MM32L3xx/Include/HAL_device.h" define="MM32L373PF"/>
|
||||
<debug svd="SVD/MM32L3xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x20000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x5000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L3xx_128.FLM" start="0x08000000" size="0x20000" default="1"/>
|
||||
<book name="Documents/MM32L3x3/PB_MM32L373.pdf" title="MM32L3x3 Product Brief"/>
|
||||
<book name="Documents/MM32L3x3/DS_MM32L373.pdf" title="MM32L3x3 Datasheet"/>
|
||||
</device>
|
||||
<device Dname="MM32L373PS">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000"/>
|
||||
<compile header="Device/MM32L3xx/Include/HAL_device.h" define="MM32L373PS"/>
|
||||
<debug svd="SVD/MM32L3xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x20000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x5000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32L3xx_128.FLM" start="0x08000000" size="0x20000" default="1"/>
|
||||
<book name="Documents/MM32L3x3/PB_MM32L373.pdf" title="MM32L3x3 Product Brief"/>
|
||||
<book name="Documents/MM32L3x3/DS_MM32L373.pdf" title="MM32L3x3 Datasheet"/>
|
||||
</device>
|
||||
</subFamily>
|
||||
</family>
|
||||
</devices>
|
||||
<conditions>
|
||||
<!-- conditions are dependency rules that can apply to a component or an individual file -->
|
||||
<!-- Compiler Conditions -->
|
||||
<condition id="Compiler ARMCC">
|
||||
<require Tcompiler="ARMCC"/>
|
||||
</condition>
|
||||
<!-- add 20160418 start -->
|
||||
<condition id="Cortex-M Device">
|
||||
<description>Cortex-M processor based device: one of CM0, CM0+, CM3, CM4, CM7, SC000, SC3000</description>
|
||||
<accept Dcore="Cortex-M3"/>
|
||||
</condition>
|
||||
<condition id="ARMCC Cortex-M">
|
||||
<description>ARMCC and Cortex-M</description>
|
||||
<require Tcompiler="ARMCC"/>
|
||||
<require condition="Cortex-M Device"/>
|
||||
</condition>
|
||||
<condition id="Cortex-M Device CMSIS Core">
|
||||
<description>ARM Cortex-M device that depends on CMSIS Core component</description>
|
||||
<require condition="Cortex-M Device"/>
|
||||
<require Cclass="CMSIS" Cgroup="CORE"/>
|
||||
</condition>
|
||||
<condition id="Cortex-M Device Startup">
|
||||
<description>Only show for Cortex-M based devices. Depends on Device Startup component.</description>
|
||||
<require condition="Cortex-M Device"/>
|
||||
<require Cclass="Device" Cgroup="Startup"/>
|
||||
</condition>
|
||||
<condition id="CMSIS Core">
|
||||
<description>CMSIS CORE processor and device specific Startup files</description>
|
||||
<require Cclass="CMSIS" Cgroup="CORE"/>
|
||||
<require Dvendor="MindMotion:132" Dname="MM32L3*"/>
|
||||
</condition>
|
||||
</conditions>
|
||||
<components>
|
||||
<!-- CMSIS-Core component not required, is coming from CMSIS Pack -->
|
||||
<!-- Startup MM32L3xx -->
|
||||
<component Cclass="Device" Cgroup="Startup" Cversion="1.4.3" condition="CMSIS Core">
|
||||
<description>System Startup for MindMotion MM32L3xx Series devices</description>
|
||||
<files>
|
||||
<file category="header" name="Device/MM32L3xx/Include/HAL_device.h"/>
|
||||
<file category="header" name="Device/MM32L3xx/Source/system_MM32L3xx.h"/>
|
||||
<file category="sourceC" name="Device/MM32L3xx/Source/system_MM32L3xx.c" attr="config" version="1.0.4"/>
|
||||
<file category="sourceAsm" name="Device/MM32L3xx/Source/KEIL_StartAsm/startup_MM32L3xx.s" attr="config" version="1.4.3" condition="Compiler ARMCC"/>
|
||||
</files>
|
||||
</component>
|
||||
</components>
|
||||
<examples>
|
||||
<!-- MM32_MBL3xxPS_Board Core Board -->
|
||||
<example name="MM32_MBL3xxPS_Board GPIO LED blinky" doc="README.TXT" folder="Boards/MBL3xxPS_Boardreg/RegSample/GPIO_LED">
|
||||
<description>MM32_MBL3xxPS_Board Blinky example</description>
|
||||
<board name="MM32_MBL3xxPS_Board" vendor="MindMotion"/>
|
||||
<project>
|
||||
<environment name="uv" load="KEILPRJ/BLINK.uvprojx"/>
|
||||
</project>
|
||||
<attributes>
|
||||
<component Cclass="CMSIS" Cgroup="CORE"/>
|
||||
<component Cclass="Device" Cgroup="Startup"/>
|
||||
<category>Getting Started</category>
|
||||
</attributes>
|
||||
</example>
|
||||
</examples>
|
||||
<boards>
|
||||
<board vendor="MindMotion" name="MM32_MBL3xxPS_Board" revision="Ver 1.0">
|
||||
<description>MindMotion MM32_MBL3xxPS_Board Development Board</description>
|
||||
<image small="Images/MiniBoard_small.jpg" large="Images/MiniBoard_big.jpg"/>
|
||||
<book category="schematic" name="Documents/boards/MM32_MiniBoard_Schematic_Ver1_1.pdf" title="MM32_MBL3xxPS_Board Schematics"/>
|
||||
<book category="manual" name="Documents/boards/PB_MM32_MiniBoard_Ver1_1.pdf" title="MM32_MBL3xxPS_Board Product Brief"/>
|
||||
<book category="setup" name="Documents/boards/QS_MiniBoard_Quick_Start_Guide_Ver1_2.pdf" title="MM32_MBL3xxPS_Board Quick Start Guide"/>
|
||||
<book category="manual" name="Documents/boards/UM_MM32_MiniBoard_Ver1_1.pdf" title="MM32_MBL3xxPS_Board UserManual"/>
|
||||
<mountedDevice deviceIndex="0" Dvendor="MindMotion:132" Dname="MM32L373PS"/>
|
||||
<compatibleDevice deviceIndex="0" Dvendor="MindMotion:132" DsubFamily="MM32L37x"/>
|
||||
<compatibleDevice deviceIndex="0" Dvendor="MindMotion:132" DsubFamily="MM32L36x"/>
|
||||
<feature type="XTAL" n="8000000"/>
|
||||
<feature type="PWR" n="5" name="USB Powered"/>
|
||||
<feature type="PWR" n="3" m="5" name="External Supply"/>
|
||||
<feature type="Button" n="1" name="Push-buttons: Reset"/>
|
||||
<feature type="LED" n="2" name="LEDs: Power, One user"/>
|
||||
<debugInterface adapter="JTAG/SW" connector="20 pin JTAG (0.1 inch connector)"/>
|
||||
</board>
|
||||
</boards>
|
||||
</package>
|
@ -1,43 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32W05xB.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32W0xxB/MM32W0xxB_32.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32F031/MM32x031_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x0BB11477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFFF810 FFFFFFFF 1FFFF812 FFFFFFFF 1FFFF814 FFFFFFFF 1FFFF816 FFFFFFFF 1FFFF818 FFFFFFFF 1FFFF81A FFFFFFFF 1FFFF81C FFFFFFFF 1FFFF81E FFFFFFFF "
|
||||
.."1FFFF820 FFFFFFFF 1FFFF822 FFFFFFFF 1FFFF824 FFFFFFFF 1FFFF826 FFFFFFFF"
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF" --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
OB_SECURE_ON = "00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF" --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E,
|
||||
0x1FFFF810, 0x1FFFF812, 0x1FFFF814, 0x1FFFF816, 0x1FFFF818, 0x1FFFF81A, 0x1FFFF81C, 0x1FFFF81E, 0x1FFFF820,
|
||||
0x1FFFF822, 0x1FFFF824, 0x1FFFF826} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
Binary file not shown.
@ -1,151 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<package schemaVersion="1.2" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="PACK.xsd">
|
||||
<vendor>MindMotion</vendor>
|
||||
<url>http://www.mindmotion.com.cn/Download/MDK_KEIL/</url>
|
||||
<name>MM32P0xx_DFP</name>
|
||||
<description>MindMotion MM32P0xx Series Device Support, Drivers and Examples</description>
|
||||
<releases>
|
||||
<release version="1.0.6">
|
||||
First Release version of MM32P0xx Device Family Pack.
|
||||
</release>
|
||||
</releases>
|
||||
<keywords>
|
||||
<!-- keywords for indexing -->
|
||||
<keyword>MindMotion</keyword>
|
||||
<keyword>Device Support</keyword>
|
||||
<keyword>Device Family Package MindMotion</keyword>
|
||||
<keyword>MM32P0xx</keyword>
|
||||
<keyword>MM32</keyword>
|
||||
</keywords>
|
||||
<devices>
|
||||
<!-- generated, do not modify this section! -->
|
||||
<family Dfamily="MM32P0xx Series" Dvendor="MindMotion:132">
|
||||
<processor Dcore="Cortex-M0" DcoreVersion="r0p0" Dfpu="0" Dmpu="0" Dendian="Little-endian"/>
|
||||
<description>
|
||||
MM32P0xx - ARM Cortex-M0 Core
|
||||
Frequency up to 16 MHz, OTP ROM up to 4 KB, SRAM up to 128 Byte, Support power saving mode: sleep, and standby mode
|
||||
Analog peripherals 5 channels x 12bit, 1us ADC, 1 x ADC,
|
||||
On-chip resources include : 1 x SysTick Timer, 1 x WDG
|
||||
|
||||
Core ARM Cortex-M0, 16 MHz
|
||||
Memory 128 Byte RAM, 4 kB OTP ROM
|
||||
Clock 16 MHz
|
||||
Communication Other
|
||||
Timer/Counter/PWM
|
||||
Analog 5-channel 12 bit ADC
|
||||
</description>
|
||||
<!-- ************************ Subfamily 'MM32P02x' **************************** -->
|
||||
<subFamily DsubFamily="MM32P02x">
|
||||
<processor Dclock="16000000"/>
|
||||
<!-- ************************* Device 'MM32P02x' ***************************** -->
|
||||
<device Dname="MM32P021SE">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="16000000"/>
|
||||
<compile header="Device/MM32P0xx/Include/HAL_device.h" define="MM32P021SE"/>
|
||||
<debug svd="SVD/MM32P0xx.svd"/>
|
||||
<memory id="IROM1" start="0x00000000" size="0x1000" startup="1" default="1"/>
|
||||
<memory id="IRAM2" start="0x20000000" size="0x0080" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32P0xx.FLM" start="0x00000000" size="0x1000" default="1"/>
|
||||
<book name="Documents/PB_MM32P0xx.pdf" title="MM32P0xx Product Brief"/>
|
||||
</device>
|
||||
<device Dname="MM32P021MN">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="16000000"/>
|
||||
<compile header="Device/MM32P0xx/Include/HAL_device.h" define="MM32P021MN"/>
|
||||
<debug svd="SVD/MM32P0xx.svd"/>
|
||||
<memory id="IROM1" start="0x00000000" size="0x1000" startup="1" default="1"/>
|
||||
<memory id="IRAM2" start="0x20000000" size="0x0080" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32P0xx.FLM" start="0x00000000" size="0x1000" default="1"/>
|
||||
<book name="Documents/PB_MM32P0xx.pdf" title="MM32P0xx Product Brief"/>
|
||||
</device>
|
||||
<device Dname="MM32P021SR">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="16000000"/>
|
||||
<compile header="Device/MM32P0xx/Include/HAL_device.h" define="MM32P021SR"/>
|
||||
<debug svd="SVD/MM32P0xx.svd"/>
|
||||
<memory id="IROM1" start="0x00000000" size="0x1000" startup="1" default="1"/>
|
||||
<memory id="IRAM2" start="0x20000000" size="0x0080" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32P0xx.FLM" start="0x00000000" size="0x1000" default="1"/>
|
||||
<book name="Documents/PB_MM32P0xx.pdf" title="MM32P0xx Product Brief"/>
|
||||
</device>
|
||||
</subFamily>
|
||||
<!-- *</subFamily> * -->
|
||||
</family>
|
||||
</devices>
|
||||
<conditions>
|
||||
<!-- conditions are dependency rules that can apply to a component or an individual file -->
|
||||
<!-- Compiler Conditions -->
|
||||
<condition id="Compiler ARMCC">
|
||||
<require Tcompiler="ARMCC"/>
|
||||
</condition>
|
||||
<!-- add -->
|
||||
<condition id="Cortex-M Device">
|
||||
<description>Cortex-M processor based device: one of CM0, CM0+, CM3, CM4, CM7, SC000, SC3000</description>
|
||||
<accept Dcore="Cortex-M0"/>
|
||||
</condition>
|
||||
<condition id="ARMCC Cortex-M">
|
||||
<description>ARMCC and Cortex-M</description>
|
||||
<require Tcompiler="ARMCC"/>
|
||||
<require condition="Cortex-M Device"/>
|
||||
</condition>
|
||||
<condition id="Cortex-M Device CMSIS Core">
|
||||
<description>ARM Cortex-M device that depends on CMSIS Core component</description>
|
||||
<require condition="Cortex-M Device"/>
|
||||
<require Cclass="CMSIS" Cgroup="CORE"/>
|
||||
</condition>
|
||||
<condition id="Cortex-M Device Startup">
|
||||
<description>Only show for Cortex-M based devices. Depends on Device Startup component.</description>
|
||||
<require condition="Cortex-M Device"/>
|
||||
<require Cclass="Device" Cgroup="Startup"/>
|
||||
</condition>
|
||||
<condition id="CMSIS Core">
|
||||
<description>CMSIS CORE processor and device specific Startup files</description>
|
||||
<require Cclass="CMSIS" Cgroup="CORE"/>
|
||||
<require Dvendor="MindMotion:132" Dname="MM32P02*"/>
|
||||
</condition>
|
||||
</conditions>
|
||||
<components>
|
||||
<!-- CMSIS-Core component not required, is coming from CMSIS Pack -->
|
||||
<!-- Startup MM32P0xx -->
|
||||
<component Cclass="Device" Cgroup="Startup" Cversion="1.0.4" condition="CMSIS Core">
|
||||
<description>System Startup for MindMotion MM32P0xx Low density devices</description>
|
||||
<files>
|
||||
<!-- include folder -->
|
||||
<!-- include folder / device header file -->
|
||||
<file category="header" name="Device/MM32P0xx/Include/HAL_device.h"/>
|
||||
<file category="header" name="Device/MM32P0xx/Source/system_MM32P0xx.h"/>
|
||||
<file category="sourceC" name="Device/MM32P0xx/Source/system_MM32P0xx.c" attr="config" version="1.0.4"/>
|
||||
<file category="sourceAsm" name="Device/MM32P0xx/Source/KEIL_StartAsm/startup_MM32P0xx.s" attr="config" version="1.0.4" condition="Compiler ARMCC"/>
|
||||
</files>
|
||||
</component>
|
||||
</components>
|
||||
<boards>
|
||||
<board vendor="MindMotion" name="MM32_EVP0xxSR_Board" revision="Ver 1.0">
|
||||
<description>MindMotion MM32_EVP0xxSR_Board Development Board</description>
|
||||
<image small="Images/EVP0xxSR_Board_small.jpg" large="Images/EVP0xxSR_Board_big.jpg"/>
|
||||
<book category="setup" name="Documents/boards/EVP0xxSR_Board_quickstart.pdf" title="MM32_EVP0xxSR_Board Quick Start"/>
|
||||
<book category="schematic" name="Documents/boards/EVP0xxSR_SCH.pdf" title="MM32_EVP0xxSR_Board Schematics"/>
|
||||
<mountedDevice deviceIndex="0" Dvendor="MindMotion:132" Dname="MM32P021SR"/>
|
||||
<compatibleDevice deviceIndex="0" Dvendor="MindMotion:132" DsubFamily="MM32P02x"/>
|
||||
<feature type="XTAL" n="16000000"/>
|
||||
<feature type="PWR" n="5" name="5V Powered"/>
|
||||
<feature type="PWR" n="3" m="5" name="External Supply"/>
|
||||
<feature type="Button" n="1" name="Push-buttons: Reset"/>
|
||||
<feature type="LED" n="2" name="LEDs: Power, One user"/>
|
||||
<debugInterface adapter="SWD" connector="20 pin SIMULATOR (0.1 inch connector)"/>
|
||||
</board>
|
||||
</boards>
|
||||
<examples>
|
||||
<!-- MM32_EVP0xxSR_Board Core Board -->
|
||||
<example name="MM32_EVP0xxSR_Board GPIO LED blinky" doc="README.TXT" folder="Boards/EVP0xxSR_Boardreg/RegSample/GPIO_LED/">
|
||||
<description>MM32_EVP0xxSR_Board Blinky example</description>
|
||||
<board name="MM32_EVP0xxSR_Board" vendor="MindMotion"/>
|
||||
<project>
|
||||
<environment name="uv" load="KEIL_PRJ/BLINK.uvprojx"/>
|
||||
</project>
|
||||
<attributes>
|
||||
<component Cclass="CMSIS" Cgroup="CORE"/>
|
||||
<component Cclass="Device" Cgroup="Startup"/>
|
||||
<category>Getting Started</category>
|
||||
</attributes>
|
||||
</example>
|
||||
</examples>
|
||||
|
||||
</package>
|
@ -1,43 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32SPIN05.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32SPIN0x/MM32SPIN05_32.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M0_npq_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x0BB11477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF 80 7F 00 FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFE0000, 0x1FFE0002} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
Binary file not shown.
@ -1,44 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32SPIN06.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32SPIN0x/MM32xx_64.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M0_npq_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x0BB11477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF 80 7F 00 FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFE0000, 0x1FFE0002} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
Binary file not shown.
@ -1,43 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32SPIN07.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32SPIN0x/MM32SPIN07_128.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M0_npq_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x0BB11477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF 80 7F 00 FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFE0000, 0x1FFE0002} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
Binary file not shown.
Binary file not shown.
@ -1,94 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<package schemaVersion="1.2" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="PACK.xsd">
|
||||
<vendor>MindMotion</vendor>
|
||||
<url>http://www.mindmotion.com.cn/Download/MDK_KEIL/</url>
|
||||
<name>MM32SPIN0x_DFP</name>
|
||||
<description>MindMotion MM32SPIN0x Series Device Support, Drivers and Examples</description>
|
||||
<releases>
|
||||
<release version="1.0.5">
|
||||
First Release version of MM32SPIN0x Device Family Pack.
|
||||
</release>
|
||||
</releases>
|
||||
<keywords>
|
||||
<!-- keywords for indexing -->
|
||||
<keyword>MindMotion</keyword>
|
||||
<keyword>Device Support</keyword>
|
||||
<keyword>Device Family Package MindMotion</keyword>
|
||||
<keyword>MM32SPIN0x</keyword>
|
||||
<keyword>MM32</keyword>
|
||||
</keywords>
|
||||
<devices>
|
||||
<!-- generated, do not modify this section! -->
|
||||
<family Dfamily="MM32SPIN0x Series" Dvendor="MindMotion:132">
|
||||
<processor Dcore="Cortex-M0" DcoreVersion="r0p0" Dfpu="0" Dmpu="0" Dendian="Little-endian"/>
|
||||
<description>
|
||||
MM32SPIN0x - ARM Cortex-M0 Core
|
||||
Frequency up to 96 MHz,Flash up to 128 KB, SRAM up to 8 KB, Support power saving mode: sleep, and standby mode
|
||||
Analog peripherals 10 channels x 12bit, 1us ADC, 1 x ADC, Up to 2 x UART, Up to 2 x SPI (18Mbit/s), 1 x I2C (400Kbit/s), CAN 2.0 B (1Mbit/s)
|
||||
On-chip resources include : 1 x Advanced Timer, 1 x SysTick Timer, 2 x WDG , 1 x DMA supported, Clock: HSI (48MHz) and LSI (40KHz)
|
||||
|
||||
Core ARM Cortex-M0, 96 MHz
|
||||
Memory 8 kB RAM, 128 kB ROM
|
||||
Clock 96 MHz
|
||||
Communication Other
|
||||
Timer/Counter/PWM
|
||||
Analog 10-channel 12 bit ADC
|
||||
</description>
|
||||
<!-- ************************ Subfamily 'MM32SPIN0x' **************************** -->
|
||||
<subFamily DsubFamily="MM32SPIN0x">
|
||||
<processor Dclock="96000000"/>
|
||||
<!-- ************************* Device 'MM32SPIN0x' ***************************** -->
|
||||
<device Dname="MM32SPIN05TW">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<debug svd="SVD/MM32SPIN05xq.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x8000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x1000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32SPIN05_32.FLM" start="0x08000000" size="0x8000" default="1"/>
|
||||
</device>
|
||||
<device Dname="MM32SPIN05PT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000"/>
|
||||
<debug svd="SVD/MM32SPIN05xq.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x8000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x1000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32SPIN05_32.FLM" start="0x08000000" size="0x8000" default="1"/>
|
||||
</device>
|
||||
<device Dname="MM32SPIN05NT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000"/>
|
||||
<debug svd="SVD/MM32SPIN05xq.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x8000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x1000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32SPIN05_32.FLM" start="0x08000000" size="0x8000" default="1"/>
|
||||
</device>
|
||||
<device Dname="MM32SPIN05PF">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000"/>
|
||||
<debug svd="SVD/MM32SPIN05xq.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x8000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x1000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32SPIN05_32.FLM" start="0x08000000" size="0x8000" default="1"/>
|
||||
</device>
|
||||
|
||||
<device Dname="MM32SPIN06NT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000" />
|
||||
<debug svd="SVD/MM32SPIN06xxs.svd" />
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1" />
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init="0" default="1" />
|
||||
<algorithm name="Flash/MM32xx_64.FLM" start="0x08000000" size="0x10000" default="1" />
|
||||
</device>
|
||||
<device Dname="MM32SPIN06PF">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000" />
|
||||
<debug svd="SVD/MM32SPIN06xxs.svd" />
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1" />
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init="0" default="1" />
|
||||
<algorithm name="Flash/MM32xx_64.FLM" start="0x08000000" size="0x10000" default="1" />
|
||||
</device>
|
||||
<device Dname="MM32SPIN06PS">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000" />
|
||||
<debug svd="SVD/MM32SPIN06xxs.svd" />
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1" />
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init="0" default="1" />
|
||||
<algorithm name="Flash/MM32xx_64.FLM" start="0x08000000" size="0x10000" default="1" />
|
||||
</device>
|
||||
</subFamily>
|
||||
</family>
|
||||
</devices>
|
||||
</package>
|
@ -1,43 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32SPIN25.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32SPIN2x/MM32xx_32.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M0_npq_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x0BB11477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF 80 7F 00 FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFE0000, 0x1FFE0002} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
@ -1,43 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32SPIN27.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32SPIN2x/MM32xx_128.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M0_npq_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x0BB11477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF 80 7F 00 FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFE0000, 0x1FFE0002} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,100 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<package schemaVersion="1.2" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="PACK.xsd">
|
||||
<vendor>MindMotion</vendor>
|
||||
<name>MM32SPIN2x_DFP</name>
|
||||
<description>MindMotion MM32SPIN2x Series Device Family Pack</description>
|
||||
<url>http://www.mindmotion.com.cn/</url>
|
||||
<supportContact>admin@mindmotion.com.cn</supportContact>
|
||||
<!-- optional license file -->
|
||||
<!--
|
||||
<license>
|
||||
</license>
|
||||
-->
|
||||
|
||||
<releases>
|
||||
<release version="1.1.3">
|
||||
Initial Version
|
||||
</release>
|
||||
</releases>
|
||||
|
||||
<keywords>
|
||||
<!-- keywords for indexing -->
|
||||
<keyword>MindMotion</keyword>
|
||||
<keyword>MM32</keyword>
|
||||
<keyword>MM32SPIN2x</keyword>
|
||||
</keywords>
|
||||
|
||||
<!-- devices section (mandatory for Device Family Packs) -->
|
||||
<devices>
|
||||
<family Dfamily="MM32SPIN2x Series" Dvendor="MindMotion:132">
|
||||
<processor Dcore="Cortex-M0" DcoreVersion="r1p0" />
|
||||
<description>
|
||||
MM32SPIN2x - ARM Cortex-M0 Core
|
||||
Frequency up to 96 MHz,Flash up to 128 KB, SRAM up to 8 KB, Support power saving mode: sleep, and standby mode
|
||||
Analog peripherals 16 channels x 12bit, 1us ADC, 1 x ADC, Up to 2 x UART, Up to 2 x SPI (18Mbit/s), Up to 1 x I2C (400Kbit/s)
|
||||
On-chip resources include : 1 x Advanced Timer, 1 x SysTick Timer, 2 x WDG , 1 x DMA supported, Clock: HSI (48MHz) and LSI (40KHz)
|
||||
|
||||
Core ARM Cortex-M0, 96 MHz
|
||||
Memory 8 kB RAM, 128 kB ROM
|
||||
Clock 96 MHz
|
||||
Communication Other
|
||||
Timer/Counter/PWM
|
||||
Analog 16-channel 12 bit ADC
|
||||
</description>
|
||||
|
||||
<device Dname="MM32SPIN25TW">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000" />
|
||||
<debug svd="SVD/MM32SPIN2x.svd" />
|
||||
<memory id="IROM1" start="0x08000000" size="0x00008000" startup="1" default="1" />
|
||||
<memory id="IRAM1" start="0x20000000" size="0x00002000" init="0" default="1" />
|
||||
<algorithm name="Flash/MM32xx_32.FLM" start="0x08000000" size="0x00008000" default="1" />
|
||||
</device>
|
||||
|
||||
<device Dname="MM32SPIN25PT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000" />
|
||||
<debug svd="SVD/MM32SPIN2x.svd" />
|
||||
<memory id="IROM1" start="0x08000000" size="0x00008000" startup="1" default="1" />
|
||||
<memory id="IRAM1" start="0x20000000" size="0x00002000" init="0" default="1" />
|
||||
<algorithm name="Flash/MM32xx_32.FLM" start="0x08000000" size="0x00008000" default="1" />
|
||||
</device>
|
||||
|
||||
<device Dname="MM32SPIN25PF">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000" />
|
||||
<debug svd="SVD/MM32SPIN2x.svd" />
|
||||
<memory id="IROM1" start="0x08000000" size="0x00008000" startup="1" default="1" />
|
||||
<memory id="IRAM1" start="0x20000000" size="0x00002000" init="0" default="1" />
|
||||
<algorithm name="Flash/MM32xx_32.FLM" start="0x08000000" size="0x00008000" default="1" />
|
||||
</device>
|
||||
|
||||
|
||||
<device Dname="MM32SPIN27PT">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000" />
|
||||
<debug svd="SVD/MM32SPIN2x.svd" />
|
||||
<memory id="IROM1" start="0x08000000" size="0x00020000" startup="1" default="1" />
|
||||
<memory id="IRAM1" start="0x20000000" size="0x00003000" init="0" default="1" />
|
||||
<algorithm name="Flash/MM32xx_128.FLM" start="0x08000000" size="0x00020000" default="1" />
|
||||
</device>
|
||||
|
||||
<device Dname="MM32SPIN27PF">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000" />
|
||||
<debug svd="SVD/MM32SPIN2x.svd" />
|
||||
<memory id="IROM1" start="0x08000000" size="0x00020000" startup="1" default="1" />
|
||||
<memory id="IRAM1" start="0x20000000" size="0x00003000" init="0" default="1" />
|
||||
<algorithm name="Flash/MM32xx_128.FLM" start="0x08000000" size="0x00020000" default="1" />
|
||||
</device>
|
||||
|
||||
<device Dname="MM32SPIN27PS">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000" />
|
||||
<debug svd="SVD/MM32SPIN2x.svd" />
|
||||
<memory id="IROM1" start="0x08000000" size="0x00020000" startup="1" default="1" />
|
||||
<memory id="IRAM1" start="0x20000000" size="0x00003000" init="0" default="1" />
|
||||
<algorithm name="Flash/MM32xx_128.FLM" start="0x08000000" size="0x00020000" default="1" />
|
||||
</device>
|
||||
|
||||
|
||||
</family>
|
||||
|
||||
</devices>
|
||||
|
||||
</package>
|
@ -1,43 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32W05xB.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32W0xxB/MM32W0xxB_32.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M0_npq_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x0BB11477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF 80 7F 00 FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFE0000, 0x1FFE0002} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
@ -1,43 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32W06xB.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32W0xxB/MM32W0xxB_64.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M0_npq_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x0BB11477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF 80 7F 00 FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFE0000, 0x1FFE0002} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
@ -1,43 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32W07xB.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32W0xxB/MM32W0xxB_128.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M0_npq_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x0BB11477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF 80 7F 00 FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFE0000, 0x1FFE0002} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,194 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<package schemaVersion="1.2" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="PACK.xsd">
|
||||
<vendor>MindMotion</vendor>
|
||||
<url>http://www.mindmotion.com.cn/Download/MDK_KEIL/</url>
|
||||
<name>MM32W0xxB_DFP</name>
|
||||
<description>MindMotion MM32W0xxB Series Device Support, Drivers and Examples</description>
|
||||
<releases>
|
||||
<release version="1.0.3">
|
||||
First Release version of MM32W0xxxB Device Family Pack.
|
||||
</release>
|
||||
</releases>
|
||||
<keywords>
|
||||
<!-- keywords for indexing -->
|
||||
<keyword>MindMotion</keyword>
|
||||
<keyword>Device Support</keyword>
|
||||
<keyword>Device Family Package MindMotion</keyword>
|
||||
<keyword>MM32W0xxB</keyword>
|
||||
<keyword>MM32</keyword>
|
||||
</keywords>
|
||||
<devices>
|
||||
<!-- generated, do not modify this section! -->
|
||||
<family Dfamily="MM32W0xxxB Series" Dvendor="MindMotion:132">
|
||||
<processor Dcore="Cortex-M0" DcoreVersion="r0p0" Dfpu="0" Dmpu="0" Dendian="Little-endian"/>
|
||||
<description>
|
||||
MM32W0xxxB - ARM Cortex-M0 Core
|
||||
Frequency up to 48 MHz,Flash up to 128 KB, SRAM up to 8 KB, Support power saving mode: sleep, and standby mode
|
||||
Analog peripherals 10 channels x 12bit, 1us ADC, 1 x ADC, Up to 2 x UART, 1 x SPI (18Mbit/s), 1 x I2C (400Kbit/s), CAN 2.0 B (1Mbit/s), USB 2.0 FS Device(12Mbit/s)
|
||||
On-chip resources include : 1 x Advanced Timer, 1 x SysTick Timer, 2 x WDG , 1 x DMA supported, Clock: HSI (48MHz) and LSI (40KHz)
|
||||
|
||||
Core ARM Cortex-M0, 48 MHz
|
||||
Memory 8 kB RAM, 128 kB ROM
|
||||
Clock 48 MHz
|
||||
Communication Other
|
||||
Timer/Counter/PWM
|
||||
Analog 10-channel 12 bit ADC
|
||||
</description>
|
||||
<!-- ************************ Subfamily 'MM32W05xB' **************************** -->
|
||||
<subFamily DsubFamily="MM32W05xxxB">
|
||||
<processor Dclock="48000000"/>
|
||||
<!-- ************************* Device 'MM32W05xB' ***************************** -->
|
||||
<device Dname="MM32W051NTB">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32W0xxB/Include/HAL_device.h" define="MM32W051NTB"/>
|
||||
<debug svd="SVD/MM32W0xxB.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x8000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x1000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32W0xxB_32.FLM" start="0x08000000" size="0x8000" default="1"/>
|
||||
<book name="Documents/MM32W0x1xxB/PB_MM32W051xxB.pdf" title="MM32W051xxB Product Brief"/>
|
||||
<book name="Documents/MM32W0x1xxB/DS_MM32W0x1xxB.pdf" title="MM32W051xxB Datasheet"/>
|
||||
</device>
|
||||
<device Dname="MM32W051PFB">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32W0xxB/Include/HAL_device.h" define="MM32W051PFB"/>
|
||||
<debug svd="SVD/MM32W0xxB.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x8000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x1000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32W0xxB_32.FLM" start="0x08000000" size="0x8000" default="1"/>
|
||||
<book name="Documents/MM32W0x1xxB/PB_MM32W051xxB.pdf" title="MM32W051xxB Product Brief"/>
|
||||
<book name="Documents/MM32W0x1xxB/DS_MM32W0x1xxB.pdf" title="MM32W051xxB Datasheet"/>
|
||||
</device>
|
||||
</subFamily>
|
||||
<!-- ************************ Subfamily 'MM32W06xB' **************************** -->
|
||||
<subFamily DsubFamily="MM32W06xxxB">
|
||||
<processor Dclock="48000000"/>
|
||||
<!-- ************************* Device 'MM32W06xB' ***************************** -->
|
||||
<device Dname="MM32W062NTB">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32W0xxB/Include/HAL_device.h" define="MM32W062NTB"/>
|
||||
<debug svd="SVD/MM32W0xxB.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32W0xxB_64.FLM" start="0x08000000" size="0x10000" default="1"/>
|
||||
<book name="Documents/MM32W0x2xxB/PB_MM32W062xxB.pdf" title="MM32W062xxB Product Brief"/>
|
||||
<book name="Documents/MM32W0x2xxB/DS_MM32W0x2xxB.pdf" title="MM32W062xxB Datasheet"/>
|
||||
</device>
|
||||
<device Dname="MM32W062PFB">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32W0xxB/Include/HAL_device.h" define="MM32W062PFB"/>
|
||||
<debug svd="SVD/MM32W0xxB.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32W0xxB_64.FLM" start="0x08000000" size="0x10000" default="1"/>
|
||||
<book name="Documents/MM32W0x2xxB/PB_MM32W062xxB.pdf" title="MM32W062xxB Product Brief"/>
|
||||
<book name="Documents/MM32W0x2xxB/DS_MM32W0x2xxB.pdf" title="MM32W062xxB Datasheet"/>
|
||||
</device>
|
||||
</subFamily>
|
||||
<!-- ************************ Subfamily 'MM32W07xB' **************************** -->
|
||||
<subFamily DsubFamily="MM32W07xxxB">
|
||||
<processor Dclock="48000000"/>
|
||||
<!-- ************************* Device 'MM32W07xB' ***************************** -->
|
||||
<device Dname="MM32W073NTB">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32W0xxB/Include/HAL_device.h" define="MM32W073NTB"/>
|
||||
<debug svd="SVD/MM32W0xxB.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x20000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32W0xxB_128.FLM" start="0x08000000" size="0x20000" default="1"/>
|
||||
<book name="Documents/MM32W073xxB/PB_MM32W073xxB.pdf" title="MM32W073xxB Product Brief"/>
|
||||
<book name="Documents/MM32W073xxB/DS_MM32W073xxB.pdf" title="MM32W073xxB Datasheet"/>
|
||||
</device>
|
||||
<device Dname="MM32W073PFB">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="48000000"/>
|
||||
<compile header="Device/MM32W0xxB/Include/HAL_device.h" define="MM32W073PFB"/>
|
||||
<debug svd="SVD/MM32W0xxB.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x20000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x2000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32W0xxB_128.FLM" start="0x08000000" size="0x20000" default="1"/>
|
||||
<book name="Documents/MM32W073xxB/PB_MM32W073xxB.pdf" title="MM32W073xxB Product Brief"/>
|
||||
<book name="Documents/MM32W073xxB/DS_MM32W073xxB.pdf" title="MM32W073xxB Datasheet"/>
|
||||
</device>
|
||||
</subFamily>
|
||||
</family>
|
||||
</devices>
|
||||
<conditions>
|
||||
<!-- conditions are dependency rules that can apply to a component or an individual file -->
|
||||
<!-- Compiler Conditions -->
|
||||
<condition id="Compiler ARMCC">
|
||||
<require Tcompiler="ARMCC"/>
|
||||
</condition>
|
||||
<!-- add 20170801 start -->
|
||||
<condition id="Cortex-M Device">
|
||||
<description>Cortex-M processor based device: one of CM0, CM0+, CM3, CM4, CM7, SC000, SC3000</description>
|
||||
<accept Dcore="Cortex-M0"/>
|
||||
</condition>
|
||||
<condition id="ARMCC Cortex-M">
|
||||
<description>ARMCC and Cortex-M</description>
|
||||
<require Tcompiler="ARMCC"/>
|
||||
<require condition="Cortex-M Device"/>
|
||||
</condition>
|
||||
<condition id="Cortex-M Device CMSIS Core">
|
||||
<description>ARM Cortex-M device that depends on CMSIS Core component</description>
|
||||
<require condition="Cortex-M Device"/>
|
||||
<require Cclass="CMSIS" Cgroup="CORE"/>
|
||||
</condition>
|
||||
<condition id="Cortex-M Device Startup">
|
||||
<description>Only show for Cortex-M based devices. Depends on Device Startup component.</description>
|
||||
<require condition="Cortex-M Device"/>
|
||||
<require Cclass="Device" Cgroup="Startup"/>
|
||||
</condition>
|
||||
<condition id="CMSIS Core">
|
||||
<description>CMSIS CORE processor and device specific Startup files</description>
|
||||
<require Cclass="CMSIS" Cgroup="CORE"/>
|
||||
<require Dvendor="MindMotion:132" Dname="MM32W0*B"/>
|
||||
</condition>
|
||||
</conditions>
|
||||
<components>
|
||||
<!-- CMSIS-Core component not required, is coming from CMSIS Pack -->
|
||||
<!-- Startup MM32W0xxB -->
|
||||
<component Cclass="Device" Cgroup="Startup" Cversion="1.0.4" condition="CMSIS Core">
|
||||
<description>System Startup for MindMotion MM32W0xxB Series devices</description>
|
||||
<files>
|
||||
<!-- include folder -->
|
||||
<!-- include folder / device header file -->
|
||||
<file category="header" name="Device/MM32W0xxB/Include/HAL_device.h"/>
|
||||
<file category="header" name="Device/MM32W0xxB/Source/system_MM32W0xxB.h"/>
|
||||
<file category="sourceC" name="Device/MM32W0xxB/Source/system_MM32W0xxB.c" attr="config" version="1.0.4"/>
|
||||
<file category="sourceAsm" name="Device/MM32W0xxB/Source/KEIL_StartAsm/startup_MM32W0xxB_KEIL.s" attr="config" version="1.0.4" condition="Compiler ARMCC"/>
|
||||
</files>
|
||||
</component>
|
||||
</components>
|
||||
<examples>
|
||||
<!-- MM32_BSW0xxNTB_Board Core Board -->
|
||||
<example name="MM32_BSW0xxNTB_Board GPIO LED blinky" doc="README.TXT" folder="Boards/BSW0xxNTB_Boardreg/RegSample/GPIO_LED">
|
||||
<description>MM32_BSW0xxNTB_Board Blinky example</description>
|
||||
<board name="MM32_BSW0xxNTB_Board" vendor="MindMotion"/>
|
||||
<project>
|
||||
<environment name="uv" load="KEILPRJ/BLINK.uvprojx"/>
|
||||
</project>
|
||||
<attributes>
|
||||
<component Cclass="CMSIS" Cgroup="CORE"/>
|
||||
<component Cclass="Device" Cgroup="Startup"/>
|
||||
<category>Getting Started</category>
|
||||
</attributes>
|
||||
</example>
|
||||
</examples>
|
||||
<boards>
|
||||
<board vendor="MindMotion" name="MM32_BSW0xxNTB_Board" revision="Ver 1.0">
|
||||
<description>MindMotion MM32_BSW0xxNTB_Board Development Board</description>
|
||||
<image small="Images/BLESmartTestBoardsmall.jpg" large="Images/BLESmartTestBoardbig.jpg"/>
|
||||
<book category="manual" name="Documents/boards/MM32W0x2xxB BLE Module User Manual_Ver1.0.pdf" title="MM32_BSW0xxNTB_Board BLE Module User Manual"/>
|
||||
<book category="manual" name="Documents/boards/SoftWareProgrammingGuide_Ver1.1.pdf" title="MM32_BSW0xxNTB_Board SoftWare Programming Guide"/>
|
||||
<mountedDevice deviceIndex="0" Dvendor="MindMotion:132" Dname="MM32W051NTB"/>
|
||||
<compatibleDevice deviceIndex="0" Dvendor="MindMotion:132" DsubFamily="MM32W05xxxB"/>
|
||||
<compatibleDevice deviceIndex="0" Dvendor="MindMotion:132" DsubFamily="MM32W06xxxB"/>
|
||||
<compatibleDevice deviceIndex="0" Dvendor="MindMotion:132" DsubFamily="MM32W07xxxB"/>
|
||||
<feature type="XTAL" n="8000000"/>
|
||||
<feature type="PWR" n="5" name="USB Powered"/>
|
||||
<feature type="PWR" n="3" m="5" name="External Supply"/>
|
||||
<feature type="Button" n="1" name="Push-buttons: Reset"/>
|
||||
<feature type="LED" n="2" name="LEDs: Power, One user"/>
|
||||
<debugInterface adapter="JTAG/SW" connector="20 pin JTAG (0.1 inch connector)"/>
|
||||
</board>
|
||||
</boards>
|
||||
</package>
|
@ -1,43 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32W36xB.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32W3xxB/MM32W3xxB_64.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M3_n_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x0BB11477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF 80 7F 00 FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFE0000, 0x1FFE0002} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD> --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
@ -1,43 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32W37xB.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32W3xxB/MM32W3xxB_128.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M3_n_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x0BB11477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF 80 7F 00 FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFE0000, 0x1FFE0002} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD> --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
@ -1,49 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32W38xB.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32F103/MM32F103xCxE_256.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M3_o_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x2BA01477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFFF810 FFFFFFFF 1FFFF812 FFFFFFFF 1FFFF814 FFFFFFFF 1FFFF816 FFFFFFFF 1FFFF818 FFFFFFFF 1FFFF81A FFFFFFFF 1FFFF81C FFFFFFFF 1FFFF81E FFFFFFFF "
|
||||
.."1FFFF820 FFFFFFFF 1FFFF822 FFFFFFFF 1FFFF824 FFFFFFFF 1FFFF826 FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 1FFE0010 1FFE0011 1FFE0012 1FFE0013 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
.."FF FF FF FF FF FF FF FF "
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
.."FE 01 00 FF 01 FE 00 FF "
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFFF810, 0x1FFFF812, 0x1FFFF814, 0x1FFFF816, 0x1FFFF818, 0x1FFFF81A, 0x1FFFF81C, 0x1FFFF81E,
|
||||
0x1FFFF820, 0x1FFFF822, 0x1FFFF824, 0x1FFFF826,
|
||||
0x1FFE0000, 0x1FFE0002, 0x1FFE0004, 0x1FFE0006} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
@ -1,49 +0,0 @@
|
||||
|
||||
-------------------------------------------------------
|
||||
-- <20>ļ<EFBFBD><C4BC><EFBFBD> : MM32W39xB.lua
|
||||
-- <20><> <20><> : V1.0 2020-04-28
|
||||
-- ˵ <20><> :
|
||||
-------------------------------------------------------
|
||||
function config_cpu(void)
|
||||
CHIP_TYPE = "SWD" --ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD><EFBFBD><EFBFBD>: "SWD", "SWIM", "SPI", "I2C", "UART"
|
||||
|
||||
AlgoFile_FLASH = "0:/H7-TOOL/Programmer/Device/MindMotion/MM32F103/MM32F103xCxE_512.FLM"
|
||||
AlgoFile_OTP = ""
|
||||
AlgoFile_OPT = "0:/H7-TOOL/Programmer/Device/MindMotion/OPT/MM32_M3_o_OPT.FLM"
|
||||
AlgoFile_QSPI = ""
|
||||
|
||||
FLASH_ADDRESS = 0x08000000 --CPU<50>ڲ<EFBFBD>FLASH<53><48>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
RAM_ADDRESS = 0x20000000 --CPU<50>ڲ<EFBFBD>RAM<41><4D>ʼ<EFBFBD><CABC>ַ
|
||||
|
||||
--Flash<73>㷨<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD>ʹ<EFBFBD>С
|
||||
AlgoRamAddr = RAM_ADDRESS
|
||||
AlgoRamSize = 4 * 1024
|
||||
|
||||
MCU_ID = 0x2BA01477
|
||||
|
||||
UID_ADDR = 0x1FFFF7E8 --UID<49><44>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD>ͬ<EFBFBD><CDAC>CPU<50><55>ͬ
|
||||
UID_BYTES = 12
|
||||
|
||||
--ȱʡУ<CAA1><D0A3>ģʽ
|
||||
VERIFY_MODE = 0 -- 0:<3A><><EFBFBD><EFBFBD>У<EFBFBD><D0A3>, 1:<3A><><EFBFBD><EFBFBD>CRC32У<32><D0A3>, <20><><EFBFBD><EFBFBD>:<3A><>չӲ<D5B9><D3B2>CRC(<28><>Ҫ<EFBFBD><D2AA>Ƭ<EFBFBD><C6AC>֧<EFBFBD>֣<EFBFBD>
|
||||
|
||||
--<2D><>ַ<EFBFBD><D6B7><EFBFBD>е<EFBFBD>FFFFFFFF<46><46>ʾԭʼ<D4AD><CABC><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><D0B2><EFBFBD>һ<EFBFBD><D2BB>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
|
||||
OB_ADDRESS = "1FFFF800 FFFFFFFF 1FFFF802 FFFFFFFF 1FFFF804 FFFFFFFF 1FFFF806 FFFFFFFF 1FFFF808 FFFFFFFF 1FFFF80A FFFFFFFF 1FFFF80C FFFFFFFF 1FFFF80E FFFFFFFF "
|
||||
.."1FFFF810 FFFFFFFF 1FFFF812 FFFFFFFF 1FFFF814 FFFFFFFF 1FFFF816 FFFFFFFF 1FFFF818 FFFFFFFF 1FFFF81A FFFFFFFF 1FFFF81C FFFFFFFF 1FFFF81E FFFFFFFF "
|
||||
.."1FFFF820 FFFFFFFF 1FFFF822 FFFFFFFF 1FFFF824 FFFFFFFF 1FFFF826 FFFFFFFF "
|
||||
.."1FFE0000 1FFE0001 1FFE0002 1FFE0003 1FFE0010 1FFE0011 1FFE0012 1FFE0013 "
|
||||
OB_SECURE_OFF = "A5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 0ʱ<30><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
.."FF FF FF FF FF FF FF FF "
|
||||
OB_SECURE_ON = "A5 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF " --SECURE_ENABLE = 1ʱ<31><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>ֵ
|
||||
.."FE 01 00 FF 01 FE 00 FF "
|
||||
|
||||
--<2D>ж϶<D0B6><CFB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(WRP = Write protection)
|
||||
OB_WRP_ADDRESS = {0x1FFFF800, 0x1FFFF808, 0x1FFFF80A, 0x1FFFF80C, 0x1FFFF80E, 0x1FFFF810, 0x1FFFF812, 0x1FFFF814, 0x1FFFF816, 0x1FFFF818, 0x1FFFF81A, 0x1FFFF81C, 0x1FFFF81E,
|
||||
0x1FFFF820, 0x1FFFF822, 0x1FFFF824, 0x1FFFF826,
|
||||
0x1FFE0000, 0x1FFE0002, 0x1FFE0004, 0x1FFE0006} --<2D>ڴ<EFBFBD><DAB4><EFBFBD>ַ
|
||||
OB_WRP_MASK = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
OB_WRP_VALUE = {0xA5, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚϣ<C8BD><CFA3><EFBFBD><EFBFBD>ȱ<EFBFBD>ʾû<CABE>б<EFBFBD><D0B1><EFBFBD>
|
||||
end
|
||||
|
||||
---------------------------<2D><><EFBFBD><EFBFBD>-----------------------------------
|
Binary file not shown.
Binary file not shown.
@ -1,170 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<package schemaVersion="1.2" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="PACK.xsd">
|
||||
<vendor>MindMotion</vendor>
|
||||
<url>http://www.mindmotion.com.cn/Download/MDK_KEIL/</url>
|
||||
<name>MM32W3xxB_DFP</name>
|
||||
<description>MindMotion MM32W3xxB Series Device Support, Drivers and Examples</description>
|
||||
<releases>
|
||||
<release version="1.0.7">
|
||||
First Release version of MM32W3xxB Device Family Pack.
|
||||
</release>
|
||||
</releases>
|
||||
<keywords>
|
||||
<!-- keywords for indexing -->
|
||||
<keyword>MindMotion</keyword>
|
||||
<keyword>Device Support</keyword>
|
||||
<keyword>Device Family Package MindMotion</keyword>
|
||||
<keyword>MM32W3xxB</keyword>
|
||||
<keyword>MM32</keyword>
|
||||
</keywords>
|
||||
<devices>
|
||||
<!-- generated, do not modify this section! -->
|
||||
<family Dfamily="MM32W3xxB Series" Dvendor="MindMotion:132">
|
||||
<processor Dcore="Cortex-M3" DcoreVersion="r1p0" Dfpu="0" Dmpu="0" Dendian="Little-endian"/>
|
||||
<description>
|
||||
MM32W3xxB - ARM Cortex-M3 Core
|
||||
Frequency up to 96 MHz,Flash up to 128 KB, SRAM up to 20 KB, Support power saving mode: sleep, and standby mode
|
||||
Analog peripherals 13 channels x 12bit, 1us ADC, Up to 3 x UART, Up to 2 x SPI (18Mbit/s), 1 x I2C (400Kbit/s) CAN 2.0 B (1Mbit/s) USB 2.0 FS Device(12Mbit/s)
|
||||
On-chip resources include : 1 x Advanced Timer, 1 x SysTick Timer, 2 x WDG , 1 x DMA supported, Clock: HSI (48MHz) and LSI (40KHz)
|
||||
|
||||
Core ARM Cortex-M0, 96 MHz
|
||||
Memory 20 kB RAM, 128 kB ROM
|
||||
Clock 96 MHz
|
||||
Communication Other
|
||||
Timer/Counter/PWM
|
||||
Analog 13-channel 12 bit ADC
|
||||
</description>
|
||||
<!-- ************************ Subfamily 'MM32W36xB' **************************** -->
|
||||
<subFamily DsubFamily="MM32W36xB">
|
||||
<processor Dclock="96000000"/>
|
||||
<!-- ************************* Device 'MM32W36x' ***************************** -->
|
||||
<device Dname="MM32W362PFB">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000"/>
|
||||
<compile header="Device/MM32W3xxB/Include/HAL_device.h" define="MM32W362PFB"/>
|
||||
<debug svd="SVD/MM32W3xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x5000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32W3xxB_64.FLM" start="0x08000000" size="0x10000" default="1"/>
|
||||
<book name="Documents/MM32W3xxB/PB_MM32W362xxB.pdf" title="MM32W362B Product Brief"/>
|
||||
<book name="Documents/MM32W3xxB/DS_MM32W3xxB.pdf" title="MM32W3xxB Datasheet"/>
|
||||
</device>
|
||||
<device Dname="MM32W362PSB">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000"/>
|
||||
<compile header="Device/MM32W3xxB/Include/HAL_device.h" define="MM32W362PSB"/>
|
||||
<debug svd="SVD/MM32W3xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x10000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x5000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32W3xxB_64.FLM" start="0x08000000" size="0x10000" default="1"/>
|
||||
<book name="Documents/MM32W3xxB/PB_MM32W362xxB.pdf" title="MM32W362B Product Brief"/>
|
||||
<book name="Documents/MM32W3xxB/DS_MM32W3xxB.pdf" title="MM32W3xxB Datasheet"/>
|
||||
</device>
|
||||
</subFamily>
|
||||
<!-- ************************ Subfamily 'MM32W37xB' **************************** -->
|
||||
<subFamily DsubFamily="MM32W37xB">
|
||||
<processor Dclock="96000000"/>
|
||||
<!-- ************************* Device 'MM32W37x' ***************************** -->
|
||||
<device Dname="MM32W373PFB">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000"/>
|
||||
<compile header="Device/MM32W3xxB/Include/HAL_device.h" define="MM32W373PFB"/>
|
||||
<debug svd="SVD/MM32W3xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x20000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x5000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32W3xxB_128.FLM" start="0x08000000" size="0x20000" default="1"/>
|
||||
<book name="Documents/MM32W3xxB/PB_MM32W373xxB.pdf" title="MM32W373B Product Brief"/>
|
||||
<book name="Documents/MM32W3xxB/DS_MM32W3xxB.pdf" title="MM32W3xxB Datasheet"/>
|
||||
</device>
|
||||
<device Dname="MM32W373PSB">
|
||||
<processor Dfpu="0" Dmpu="0" Dendian="Little-endian" Dclock="96000000"/>
|
||||
<compile header="Device/MM32W3xxB/Include/HAL_device.h" define="MM32W373PSB"/>
|
||||
<debug svd="SVD/MM32W3xx.svd"/>
|
||||
<memory id="IROM1" start="0x08000000" size="0x20000" startup="1" default="1"/>
|
||||
<memory id="IRAM1" start="0x20000000" size="0x5000" init="0" default="1"/>
|
||||
<algorithm name="Flash/MM32W3xxB_128.FLM" start="0x08000000" size="0x20000" default="1"/>
|
||||
<book name="Documents/MM32W3xxB/PB_MM32W373xxB.pdf" title="MM32W373B Product Brief"/>
|
||||
<book name="Documents/MM32W3xxB/DS_MM32W3xxB.pdf" title="MM32W3xxB Datasheet"/>
|
||||
</device>
|
||||
</subFamily>
|
||||
</family>
|
||||
</devices>
|
||||
<conditions>
|
||||
<!-- conditions are dependency rules that can apply to a component or an individual file -->
|
||||
<!-- Compiler Conditions -->
|
||||
<condition id="Compiler ARMCC">
|
||||
<require Tcompiler="ARMCC"/>
|
||||
</condition>
|
||||
<!-- add 20160418 start -->
|
||||
<condition id="Cortex-M Device">
|
||||
<description>Cortex-M processor based device: one of CM0, CM0+, CM3, CM4, CM7, SC000, SC3000</description>
|
||||
<accept Dcore="Cortex-M3"/>
|
||||
</condition>
|
||||
<condition id="ARMCC Cortex-M">
|
||||
<description>ARMCC and Cortex-M</description>
|
||||
<require Tcompiler="ARMCC"/>
|
||||
<require condition="Cortex-M Device"/>
|
||||
</condition>
|
||||
<condition id="Cortex-M Device CMSIS Core">
|
||||
<description>ARM Cortex-M device that depends on CMSIS Core component</description>
|
||||
<require condition="Cortex-M Device"/>
|
||||
<require Cclass="CMSIS" Cgroup="CORE"/>
|
||||
</condition>
|
||||
<condition id="Cortex-M Device Startup">
|
||||
<description>Only show for Cortex-M based devices. Depends on Device Startup component.</description>
|
||||
<require condition="Cortex-M Device"/>
|
||||
<require Cclass="Device" Cgroup="Startup"/>
|
||||
</condition>
|
||||
<condition id="CMSIS Core">
|
||||
<description>CMSIS CORE processor and device specific Startup files</description>
|
||||
<require Cclass="CMSIS" Cgroup="CORE"/>
|
||||
<require Dvendor="MindMotion:132" Dname="MM32W3*B"/>
|
||||
</condition>
|
||||
</conditions>
|
||||
<components>
|
||||
<!-- CMSIS-Core component not required, is coming from CMSIS Pack -->
|
||||
<!-- Startup MM32W3xxB -->
|
||||
<component Cclass="Device" Cgroup="Startup" Cversion="1.4.3" condition="CMSIS Core">
|
||||
<description>System Startup for MindMotion MM32W3xxB Series devices</description>
|
||||
<files>
|
||||
<!-- include folder -->
|
||||
<!-- include folder / device header file -->
|
||||
<file category="header" name="Device/MM32W3xxB/Include/HAL_device.h"/>
|
||||
<file category="header" name="Device/MM32W3xxB/Source/system_MM32W3xxB.h"/>
|
||||
<file category="sourceC" name="Device/MM32W3xxB/Source/system_MM32W3xxB.c" attr="config" version="1.0.4"/>
|
||||
<file category="sourceAsm" name="Device/MM32W3xxB/Source/KEIL_StartAsm/startup_MM32W3xxB_KEIL.s" attr="config" version="1.4.3" condition="Compiler ARMCC"/>
|
||||
</files>
|
||||
</component>
|
||||
</components>
|
||||
<examples>
|
||||
<!-- MM32_MBW3xxPSB_Board Core Board -->
|
||||
<example name="MM32_MBW3xxPSB_Board GPIO LED blinky" doc="README.TXT" folder="Boards/MBW3xxPSB_Boardreg/RegSample/GPIO_LED">
|
||||
<description>MM32_MBW3xxPSB_Board Blinky example</description>
|
||||
<board name="MM32_MBW3xxPSB_Board" vendor="MindMotion"/>
|
||||
<project>
|
||||
<environment name="uv" load="KEILPRJ/BLINK.uvprojx"/>
|
||||
</project>
|
||||
<attributes>
|
||||
<component Cclass="CMSIS" Cgroup="CORE"/>
|
||||
<component Cclass="Device" Cgroup="Startup"/>
|
||||
<category>Getting Started</category>
|
||||
</attributes>
|
||||
</example>
|
||||
</examples>
|
||||
<boards>
|
||||
<board vendor="MindMotion" name="MM32_MBW3xxPSB_Board" revision="Ver 1.0">
|
||||
<description>MindMotion MM32_MBW3xxPSB_Board Development Board</description>
|
||||
<image small="Images/MiniBoard_small.jpg" large="Images/MiniBoard_big.jpg"/>
|
||||
<book category="schematic" name="Documents/boards/MM32_MiniBoard_Schematic_Ver1_1.pdf" title="MM32_MBW3xxPSB_Board Schematics"/>
|
||||
<book category="manual" name="Documents/boards/PB_MM32_MiniBoard_Ver1_1.pdf" title="MM32_MBW3xxPSB_Board Product Brief"/>
|
||||
<book category="setup" name="Documents/boards/QS_MiniBoard_Quick_Start_Guide_Ver1_2.pdf" title="MM32_MBW3xxPSB_Board Quick Start Guide"/>
|
||||
<book category="manual" name="Documents/boards/UM_MM32_MiniBoard_Ver1_1.pdf" title="MM32_MBW3xxPSB_Board UserManual"/>
|
||||
<mountedDevice deviceIndex="0" Dvendor="MindMotion:132" Dname="MM32W373PSB"/>
|
||||
<compatibleDevice deviceIndex="0" Dvendor="MindMotion:132" DsubFamily="MM32W37xB"/>
|
||||
<compatibleDevice deviceIndex="0" Dvendor="MindMotion:132" DsubFamily="MM32W36xB"/>
|
||||
<feature type="XTAL" n="8000000"/>
|
||||
<feature type="PWR" n="5" name="USB Powered"/>
|
||||
<feature type="PWR" n="3" m="5" name="External Supply"/>
|
||||
<feature type="Button" n="1" name="Push-buttons: Reset"/>
|
||||
<feature type="LED" n="2" name="LEDs: Power, One user"/>
|
||||
<debugInterface adapter="JTAG/SW" connector="20 pin JTAG (0.1 inch connector)"/>
|
||||
</board>
|
||||
</boards>
|
||||
</package>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user