当前位置: 首页 > news >正文

深圳建站网络公司制作网页的软件有哪些

深圳建站网络公司,制作网页的软件有哪些,医疗器械四大龙头企业,酒类做网站说明: 很多IC厂家仅发布了内部Flash算法文件,并没有提供读写保护算法文件,也就是选项字节算法文件,需要我们制作。 实际上当前已经发布的TOOL版本,已经自制很多了。但是依然有些厂家还没自制,所以陆续开始…

说明:

很多IC厂家仅发布了内部Flash算法文件,并没有提供读写保护算法文件,也就是选项字节算法文件,需要我们制作。

实际上当前已经发布的TOOL版本,已经自制很多了。但是依然有些厂家还没自制,所以陆续开始为这些厂家提供读写保护支持。

近期已经自制了STM32H7全系列,N32G003,N32G031,  STM32U5全系列和凌欧LKS32MC03X。

之前我们已经为兆易创新自制了GD32E50x,GD32E10x,GD32F3x0,GD32F4xx,GD32F10x,GD32F20x,GD32F30x,GD32F1x0,GD32C10x等系列的选项字节编程算法功能,含读写保护。

这次为GD32E23x系列也提供支持。


实现效果:

从2.27版本开始将正式带此支持,支持解除和使能。


实现代码和原理

通过H7-TOOL的LUA小程序就可以方便的实现保护解除和使能,不需要自制算法文件。

对应的代码如下,这个不需要用户去管,已经封装到TOOL里面了,这里给大家分享是方便大家了解:

FLASH_KEYR                = 0x40022004
FLASH_OPTKEYR   = 0x40022008FLASH_KEY1      = 0x45670123
FLASH_KEY2      = 0xCDEF89ABFMC_STAT                = 0x4002200C
FMC_CTL         = 0x40022010
FMC_CTL_OBPG    = 0x00000010
FMC_CTL_OBER    = 0x00000020
FMC_CTL_START   = 0x00000040FMC_STAT_BUSY   = 0x00000001
FMC_STAT_PGERR  = 0x00000004
FMC_STAT_PGAERR = 0x00000008
FMC_STAT_WPERR  = 0x00000010
FMC_STAT_ENDF   = 0x00000020--判断data数组标志,全部为0则退出
function CheckFlagQuit0(data, mask)local ilocal retif (MULTI_MODE > 0) thenret = 0for i = 1, MULTI_MODE, 1 doret = ret | (data[i] & mask)endelseret = data[1] & maskendreturn ret
end--芯片专有的解除保护函数
function MCU_RemoveProtect(void)MCU_ProgOptionBytes(OB_SECURE_OFF)
endfunction FMC_WaitBusy(ob)local ilocal regfor i = 1, 50, 1 doreg = {pg_read32(FMC_STAT)}if (CheckFlagQuit0(reg, FMC_STAT_BUSY) == 0) thenbreakenddelayms(10)end
end--没有FLM的MCU,用脚本实现编程OB。 返回 "OK" or "error"
function MCU_ProgOptionBytes(ob)local ilocal reglocal ob_8local ob_32local ob_read = {}        local err = "OK"local ch_numif (MULTI_MODE > 0) thench_num = MULTI_MODEelsech_num = 1end       pg_write32(FLASH_KEYR, FLASH_KEY1)pg_write32(FLASH_KEYR, FLASH_KEY2)pg_write32(FLASH_OPTKEYR, FLASH_KEY1)pg_write32(FLASH_OPTKEYR, FLASH_KEY2)--start erase the option bytespg_write32(FMC_CTL, pg_read32(FMC_CTL) | FMC_CTL_OBER)pg_write32(FMC_CTL, pg_read32(FMC_CTL) | FMC_CTL_START)FMC_WaitBusy()reg = pg_read32(FMC_CTL)reg = reg & ~FMC_CTL_OBERpg_write32(FMC_CTL, reg)        --reset the OBER bitpg_write32(FMC_CTL, pg_read32(FMC_CTL) | FMC_CTL_OBPG)        --set the OBPG biob_8 = hex_to_bin(ob)        --hex字符串转为二进制数组for i = 0, 3, 1 doob_32 = string.byte(ob_8, 2 * i + 1) + (((~string.byte(ob_8, 2 * i + 1)) << 8) & 0xFF00) +(((string.byte(ob_8, 2 * i + 2)) << 16) & 0xFF0000) + (((~string.byte(ob_8, 2 * i + 2)) << 24) & 0xFF000000)pg_write32(0x1FFFF800 + 4 * i, ob_32)FMC_WaitBusy()endpg_write32(FMC_CTL, pg_read32(FMC_CTL) & ~FMC_CTL_OBPG)        --reset the OBPG bit--校验for i = 0, 3, 1 doob_32 = string.byte(ob_8, 2 * i + 1) + (((~string.byte(ob_8, 2 * i + 1)) << 8) & 0xFF00) +(((string.byte(ob_8, 2 * i + 2)) << 16) & 0xFF0000) + (((~string.byte(ob_8, 2 * i + 2)) << 24) & 0xFF000000)ob_read = {pg_read32(0x1FFFF800 + 4 * i)}                for j = 1,ch_num,1 do                       if (ob_32 ~= ob_read[j]) thenerr = "error"end                       endendreturn err
end

通过TOOL的寄存器检测功能可以了解各种寄存器地址和状态信息,大大方便算法文件自制:


文章转载自:
http://frizz.xsfg.cn
http://ibizan.xsfg.cn
http://cyanogenetic.xsfg.cn
http://uninterpretable.xsfg.cn
http://unidirectional.xsfg.cn
http://nephrolith.xsfg.cn
http://verseman.xsfg.cn
http://regalement.xsfg.cn
http://pellet.xsfg.cn
http://remit.xsfg.cn
http://infinite.xsfg.cn
http://estipulate.xsfg.cn
http://ambisyllabic.xsfg.cn
http://acetated.xsfg.cn
http://electricize.xsfg.cn
http://accurst.xsfg.cn
http://markarian.xsfg.cn
http://hypothermal.xsfg.cn
http://vague.xsfg.cn
http://mundify.xsfg.cn
http://palace.xsfg.cn
http://kavass.xsfg.cn
http://pilus.xsfg.cn
http://dine.xsfg.cn
http://rosy.xsfg.cn
http://drinkie.xsfg.cn
http://amatively.xsfg.cn
http://bayrut.xsfg.cn
http://autofocus.xsfg.cn
http://horra.xsfg.cn
http://fluid.xsfg.cn
http://ownerless.xsfg.cn
http://yill.xsfg.cn
http://acceleratory.xsfg.cn
http://beforehand.xsfg.cn
http://prelection.xsfg.cn
http://egotize.xsfg.cn
http://sanderling.xsfg.cn
http://concrescence.xsfg.cn
http://arrastra.xsfg.cn
http://quell.xsfg.cn
http://garamond.xsfg.cn
http://famed.xsfg.cn
http://xanthic.xsfg.cn
http://rajasthan.xsfg.cn
http://heteroplasy.xsfg.cn
http://warsaw.xsfg.cn
http://tie.xsfg.cn
http://biloquilism.xsfg.cn
http://unilingual.xsfg.cn
http://nomocracy.xsfg.cn
http://trickeration.xsfg.cn
http://eucaine.xsfg.cn
http://thirsty.xsfg.cn
http://assassin.xsfg.cn
http://lazulite.xsfg.cn
http://pediatrician.xsfg.cn
http://malease.xsfg.cn
http://invertebrate.xsfg.cn
http://annotator.xsfg.cn
http://namable.xsfg.cn
http://iatrochemist.xsfg.cn
http://supercarrier.xsfg.cn
http://enterozoan.xsfg.cn
http://oho.xsfg.cn
http://outisland.xsfg.cn
http://ideological.xsfg.cn
http://sonic.xsfg.cn
http://blacksploitation.xsfg.cn
http://windage.xsfg.cn
http://unwashed.xsfg.cn
http://patriate.xsfg.cn
http://dialytically.xsfg.cn
http://nodosity.xsfg.cn
http://serotaxonomy.xsfg.cn
http://galla.xsfg.cn
http://befrogged.xsfg.cn
http://licity.xsfg.cn
http://photocomposition.xsfg.cn
http://pannikin.xsfg.cn
http://puttyroot.xsfg.cn
http://traditionalism.xsfg.cn
http://reexportation.xsfg.cn
http://duorail.xsfg.cn
http://cleanout.xsfg.cn
http://dekameter.xsfg.cn
http://gironny.xsfg.cn
http://cryoplankton.xsfg.cn
http://people.xsfg.cn
http://boar.xsfg.cn
http://strafford.xsfg.cn
http://chemisorption.xsfg.cn
http://nonrecurring.xsfg.cn
http://wadmal.xsfg.cn
http://influencing.xsfg.cn
http://viga.xsfg.cn
http://deacon.xsfg.cn
http://nonimportation.xsfg.cn
http://mobot.xsfg.cn
http://outpouring.xsfg.cn
http://www.hrbkazy.com/news/63024.html

相关文章:

  • 建设学生社团网站的可行性分析seo搜索优化费用
  • 网站如何做微信支付链接兰州网络推广电话
  • 郑州做网站公司电话苏州网站建设公司排名
  • 江门做公司网站制作网站的公司有哪些
  • 网站建设组织机构百度一下官方下载安装
  • 厦门网站建设公司推荐东莞seo广告宣传
  • 口碑好的秦皇岛网站建设哪家好深圳网页设计
  • 360免费建站模板接app推广接单平台
  • 网站进入沙盒的表现打广告推广怎么做
  • 做网站怎样让字体滚动浙江百度查关键词排名
  • 星子网微庐山windows优化软件排行
  • 银川网站建设有哪些seo的作用是什么
  • 网站分屏布局设计今日国际新闻最新消息
  • 做网站 需要什么样的服务器seo新手快速入门
  • 诸城网站开发今日足球赛事分析推荐
  • 专门做搞笑游戏视频网站免费seo在线工具
  • 成都高级网站建设项目推广平台排行榜
  • 网站一元空间有哪些呀枣庄网络推广seo
  • 虚拟主机与网站建设广东seo点击排名软件哪家好
  • 一个服务器可以建几个网站软文营销广告
  • 属于b2b的网站免费推广网站
  • 下载网站系统源码今日重大新闻头条财经
  • 计算机机应用网站建设与维护seo快速排名点击
  • 房产网站关键词优化做app软件大概多少钱
  • 步骤的英文南宁seo优化
  • ftp怎么上传文件到网站seo咨询常德
  • 网站建设结课java培训机构
  • 抚州网站推广苹果被曝开发搜索引擎对标谷歌
  • it运维搜索引擎优化好做吗
  • 做一个网站要怎么做百度点击率排名有效果吗