问答

汇集网友智慧,解决技术难题

uiint

TA的家园币:2473  

  • keil怎么测量时间

    测试

    2023-09-14 47
  • ST-link检测不到MCU板芯片

    LKS081开发板上电以后,ST-link检测不到芯片,并且FlashDownload中的ResetandRun勾选上以后,关闭选项卡再打开又回到原先没有勾选的状态,请问这是咋回事啊

    MUC 技术交流 单片机

    2023-07-28 46
  • MM32F0144用MM32-Link为什么一直无法识别

    RTMM32-Link是正常连接的SWDevice一直提示:NOCortex-MSWDeviceFound

    MM32

    2022-12-16 30
  • MPLAB X IDE中使用hexmate工具生成的16位checksum问题

    请问下,我在使用hexmate生成的16位checksum与hexmate手册中CheckSum算法代码所生成checksum不一样?以下为hexmate用户手册7.1.1AdditionAlgorithms中的checksum生成代码#includetypedefuint8_tread_t;//sizeofdatavaluesreadandsummedtypedefuint16_tresult_t;//sizeofchecksumresult//addtooffset,nadditionsofvaluesstartingataddressdata,//truncatingandreturningtheresult//data:theaddressofthefirstvaluetosum//n:thenumberofsumstoperform//offset:theintialvaluetowhichthesumisaddedresult_tck_add(constread_t*data,unsignedn,result_toffset){result_tchksum;chksum=offset;while(n--){chksum+=*data;data++;}returnchksum;}实际工程中的checkSum设置:hexmate${ImagePath}-FILL=0x3FFF@0x0000:0x7FFB-CK=0x0800-0x0802@0x7FFC+0x00w-2t34g1-o${ImagePath}在MPLABXIDE的ProgramMemory窗口中查看到的0x400地址处内容为0x3184,如果按照上述checkSum计算方法得到的checksum值为B5,而使用hexmate生成的checksum值为C9请问下,到底这个hexmate生成的16位checksum算法是怎样的?

    hexmate checksum

    2022-07-28 7
  • AutoChips开发板收到后,使用KEIL5开发,打开例程显示找不到...

    本帖最后由hailang19881003于2021-3-2415:24编辑开发板收到后,使用MDK开发,显示大家有遇到的吗?ErrorinstantiatingRTEcomponentsError#540:'AutoChips.AC781xDevelopmentKit::BoardSupport:AC781xDevelopmentKit:DebugInterface:1.0.0'componentisnotavailablefortarget'GPIODEMO'Error#540:'AutoChips.AC781xDevelopmentKit::BoardSupport:AC781xDevelopmentKit:OLED:1.0.0'componentisnotavailablefortarget'GPIODEMO'Error#540:'AutoChips::Device:ATCDrivers:DMA:1.0.0'componentisnotavailablefortarget'GPIODEMO'Error#540:'AutoChips::Device:ATCDrivers:GPIO:1.0.0'componentisnotavailablefortarget'GPIODEMO'Error#540:'AutoChips::Device:ATCDrivers:I2C:1.0.0'componentisnotavailablefortarget'GPIODEMO'Error#540:'AutoChips::Device:ATCDrivers:UART:1.0.0'componentisnotavailablefortarget'GPIODEMO'Error#540:'AutoChips::Device:Startup:1.0.0'componentisnotavailablefortarget'GPIODEMO'

    ps 开发板 keil5 Chip ev TI

    2021-03-24 18