我是爆米花啊
获得 88 次赞
帮助过409人
调试stm32遇到HardFault_Handler,一般怎么查找问题在哪?STM32有相关的寄存器可以明确指示发生哪种错误吗
第一次安装失败(还有信息输出,最后卡住不动),然后重新制作了一次TF卡再次安装,上电就蜂鸣器一直响,串口看起来没输出,只看到输出几个CCCCC
EVB-T335使用TF卡安装系统失败。然后不要TF卡,正常启动进不了系统了。下面是日志。怎么解决啊貌似日志太长了,发不出来,我把中间一段删除了,够不够判断故障?U-Boot SPL 2014.04-rc2 (Nov 26 2015 - 10:56:39)reading u-boot.imgreading u-boot.imgU-Boot 2014.04-rc2 (Nov 26 2015 - 10:56:39)I2C: readyDRAM: 512 MiBMMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1Using default environmentNet: cpswHit any key to stop autoboot: 0reading logo.bmp1152054 bytes read in 76 ms (14.5 MiB/s)mmc1(part 0) is current deviceSD/MMC found on device 1reading uEnv.txt125 bytes read in 4 ms (30.3 KiB/s)Loaded environment from uEnv.txtImporting environment from mmc ...reading uImage4630424 bytes read in 284 ms (15.5 MiB/s)reading evbt335-emmc.dtb34359 bytes read in 8 ms (4.1 MiB/s)## Booting kernel from Legacy Image at 81000000 ... Image Name: Linux-3.14.43-g875c69b Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4630360 Bytes = 4.4 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK## Flattened Device Tree blob at 82000000 Booting using the fdt blob at 0x82000000 Loading Kernel Image ... OK Loading Device Tree to 9fb4a000, end 9fb55636 ... OKStarting kernel ...[ 0.000000] Booting Linux on physical CPU 0x0[ 0.000000] Linux version 3.14.43-g875c69b (daniel@embedall) (gcc version 4.7 .3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Lina ro GCC 2013.03) ) #1 Tue Jun 6 16:06:58 CST 2017[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio n cache[ 0.000000] Machine model: EAC EVB335X-II[ 0.000000] cma: CMA: reserved 24 MiB at 9e000000[ 0.000000] Memory policy: Data cache writeback[ 0.000000] CPU: All CPU(s) started in SVC mode.[ 0.000000] AM335X ES2.1 (neon )[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag es: 129792[ 0.000000] Kernel command line: console=tty0 console=ttyO0,115200n8 noinitrd root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait lcdtype=AUO_AT070TN94 consolebl ank=0[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)[ 0.000000] Memory: 484508K/523264K available (6231K kernel code, 297K rwdata , 2432K rodata, 261K init, 233K bss, 38756K reserved, 0K highmem)[ 0.000000] Virtual kernel memory layout:[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)[ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)[ 0.000000] .text : 0xc0008000 - 0xc087e0c4 (8665 kB)[ 0.000000] .init : 0xc087f000 - 0xc08c048c ( 262 kB)[ 0.000000] .data : 0xc08c2000 - 0xc090c5c0 ( 298 kB)[ 0.000000] .bss : 0xc090c5c0 - 0xc09469d8 ( 234 kB)[ 0.000000] NR_IRQS:16 nr_irqs:16 16[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrup ts。。[ 2.579624] ALSA device list:[ 2.585215] #0: AM335x-EVM[ 2.735955] EXT4-fs (mmcblk0p2): recovery complete[ 2.744197] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. O pts: (null)[ 2.755885] VFS: Mounted root (ext4 filesystem) on device 179:2.[ 2.766181] devtmpfs: error mounting -2[ 2.773972] Freeing unused kernel memory: 260K (c087f000 - c08c0000)[ 2.783936] Kernel panic - not syncing: No working init found. Try passing i nit= option to kernel. See Linux Documentation/init.txt for guidance.[ 2.804035] drm_kms_helper: panic occurred, switching back to text console[ 55.262548] random: nonblocking pool is initialized