2019-08-23 11:36 PM
i use CubeMX, CubeProgrammer, ST-LinkV3set, and IAR
i made my own Board, modifiy en.MB1363-H745ZIQ-C01_Schematic
ST-Link can recognize Device when Boot0 to High and PowerOnReset.
when Boot0 to Low and PowerOnReset can not recognize Device.
What can i debug??
Add
Boot0 to High and PowerOnReset State, I can download
Error Massage
"no MCU device found session aborted"
2019-08-24 02:32 AM
Is some programm loaded? Does the programm remap JTAG/SWD pins? Try connect under reset!
2019-08-24 02:37 AM
swd : i didnt use remap function,
st-link : using Connect during reset
Boot1 to High before powerOnReset , i can program.. and it is located 0x800 0000
2019-08-24 02:40 AM
Boot0 to High before powerOnReset , i can program.. and it is located 0x800 0000
==miss typing
2019-08-24 05:35 AM
the 4.7uF cap or 2x 2.2uF caps , on Vcap pins seems fairly critical.
do you have a reset chip ?
use a scope and check at high frequency, trigger on the power rail dip, slowly lower the trigger level, if its 0.5V below VCC that is your issue...
more bypass caps...
2019-08-24 06:33 AM
thanks for reply, i will check them.
2019-08-24 06:53 AM
i checked Vcap pin, it is 1.2V level
and use scope it looks fine...
2019-08-24 08:10 AM
Try doing some simple stuff in main(), without calling SystemConfig(), as I recall part should run at 64 MHz by default.
Toggle some GPIO, output via a USART.
Check HSE_VALUE matches board design.
If it doesn't get to main(), uncheck "run to main()" or equivalent setting, start stepping in Reset_Handler.
Have HardFault_Handler() and Error_Handler() report actionable data.