搜索
bottom↓
回复: 10
打印 上一主题 下一主题

自制nuc980开发板上电启动Linux未成功-卡在内核初始化外设阶段

[复制链接]

出0入0汤圆

跳转到指定楼层
1
发表于 2024-5-11 10:35:39 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 jerryshuuei 于 2024-5-12 08:31 编辑

Hi 大家好! 根据上一个帖子大家指出的问题, 我又重新画了块板子.

上一块板子电压上电不对, 排查来排查去发现3v3, 1v2, 1v8单独接入时都是正常的,
但是1v2和3v3同时接入, 1v2被拉到了2v2... 感觉只有芯片内部出问题了.

现在重新画了块板子, 分成了好几块板子拼接. 电源板, 核心板, 底板. 留了以太网的接口.
目前可以实现的:
1. 上电后电压正常;
2. USB启动: 与PC机上的新唐Nuwriter烧录软件建立连接;
3. SD卡启动: 未完全成功

目前我的板子算一个最小系统板:
1. SD卡作为"启动盘",  
2. 一个串口输出调试信息,
3. 一个USB口来和Nuwriter烧录软件对接.
4. 核心板上引出了一组SPI Flash接口和RMII以太网接口作为后续扩展

现在的实物板子和SD卡启动的问题


-------------------------------
之前在新唐官方开发板NUC980-IIOT(NUC980DR61Y)开发好了软件应用,
现在直接将SD卡用在我的板子(NUC980DR61YC)上.  

SD卡启动的时候, 串口有输出, 读取加载uboot成功, 内核已加载到内存.
不知道是不是一些外设没有的原因... 导致一直卡在了
...
nuc980-ohci b0017000.usbh_ohci: Nuvoton NUC980 OHCI Host Controller
nuc980-ohci b0017000.usbh_ohci: new USB bus registered, assigned bus number 2
nuc980-ohci b0017000.usbh_ohci: irq 24, io mem 0xb0017000
...就没有后续了

官方板子上的启动输出是
'''
nuc980-ohci b0017000.usbh_ohci: Nuvoton NUC980 OHCI Host Controller
nuc980-ohci b0017000.usbh_ohci: new USB bus registered, assigned bus number 2
nuc980-ohci b0017000.usbh_ohci: irq 24, io mem 0xb0017000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 8 ports detected
NUC980 OHCI init done.
'''


我想知道是我硬件的问题还是固件的问题.
重新编译固件可以解决吗?
或者我飞几根线配置对应的引脚可以解决吗?



下面是两块板子的对同一张SD卡的完整启动输出对比
---------------------------
自制新唐NUC980最小系统板的输出:
感觉像是OHCI未能初始化成功就一直卡着了...
一开始的Err-CRC7是什么情况? 同一张卡...


  1. NUC980 IBR 20180813
  2. Boot from SD
  3. Err-CRC7        # 这个是什么意思?
  4. DDR-OK
  5. finish SD dow�d


  6. U-Boot 2016.11-g4739e90-dirty (Feb 26 2024 - 09:56:37 +0800)

  7. CPU: NUC980
  8. Board: NUC980
  9. DRAM:  64 MiB
  10. MMC:   NUC980 SD: 0
  11. In:    serial
  12. Out:   serial
  13. Err:   serial
  14. Net:   Net Initialization Skipped
  15. No ethernet found.
  16. Hit any key to stop autoboot:  0
  17. reading uImage
  18. 3833240 bytes read in 506 ms (7.2 MiB/s)
  19. reading nuc980-dev-v1.0.dtb
  20. 27807 bytes read in 8 ms (3.3 MiB/s)
  21. ## Booting kernel from Legacy Image at 00007fc0 ...
  22.    Image Name:   Linux-5.10.140+
  23.    Image Type:   ARM Linux Kernel Image (uncompressed)
  24.    Data Size:    3833176 Bytes = 3.7 MiB
  25.    Load Address: 00008000
  26.    Entry Point:  00008000
  27.    Verifying Checksum ... OK
  28. ## Flattened Device Tree blob at 00c00000
  29.    Booting using the fdt blob at 0xc00000
  30.    XIP Kernel Image ... OK
  31.    Loading Device Tree to 03e7b000, end 03e84c9e ... OK

  32. StartiÿBooting Linux on physical CPU 0x0
  33. Linux version 5.10.140+ (shuuei@H8) (arm-buildroot-linux-gnueabi-gcc.br_real (Buildroot 2023.02.8) 11.4.0, GNU ld (GNU Binutils) 2.38) #1 PREEMPT Mon Feb 26 10:18:45 CST 2024
  34. CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
  35. CPU: VIVT data cache, VIVT instruction cache
  36. OF: fdt: Machine model: Nuvoton NUC980 DEV V1.0
  37. Memory policy: Data cache writeback
  38. Zone ranges:
  39.   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
  40. Movable zone start for each node
  41. Early memory node ranges
  42.   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
  43. Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
  44. Built 1 zonelists, mobility grouping on.  Total pages: 16256
  45. Kernel command line: console=ttyS0,115200n8 noinitrd rootfstype=ext4 root=/dev/mmcblk0p2 rw rootwait mem=64M
  46. Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
  47. Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
  48. mem auto-init: stack:off, heap alloc:off, heap free:off
  49. Memory: 56516K/65536K available (5789K kernel code, 680K rwdata, 1252K rodata, 168K init, 244K bss, 9020K reserved, 0K cma-reserved)
  50. SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  51. rcu: Preemptible hierarchical RCU implementation.
  52. rcu:         RCU event tracing is enabled.
  53.         Trampoline variant of Tasks RCU enabled.
  54. rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
  55. NR_IRQS: 545
  56. clocksource: nuc980-timer5: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 62215505635 ns
  57. sched_clock: 24 bits at 120kHz, resolution 8333ns, wraps every 69905062489ns
  58. Console: colour dummy device 80x30
  59. printk: console [ttyS0] enabled
  60. Calibrating delay loop... 148.88 BogoMIPS (lpj=744448)
  61. pid_max: default: 32768 minimum: 301
  62. Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
  63. Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
  64. CPU: Testing write buffer coherency: ok
  65. Setting up static identity map for 0x8400 - 0x843c
  66. rcu: Hierarchical SRCU implementation.
  67. devtmpfs: initialized
  68. clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
  69. futex hash table entries: 256 (order: -1, 3072 bytes, linear)
  70. pinctrl core: initialized pinctrl subsystem
  71. NET: Registered protocol family 16
  72. DMA: preallocated 256 KiB pool for atomic coherent allocations
  73. <DT> nuc980_dt_device_init +
  74. <DT> nuc980_dt_device_init -
  75. nuc980-pinctrl apb:pinctrl@b0000000: initialized NUC980 pinctrl driver
  76. SCSI subsystem initialized
  77. usbcore: registered new interface driver usbfs
  78. usbcore: registered new interface driver hub
  79. usbcore: registered new device driver usb
  80. mc: Linux media interface: v0.10
  81. videodev: Linux video capture interface: v2.00
  82. clocksource: Switched to clocksource nuc980-timer5
  83. NET: Registered protocol family 2
  84. IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
  85. tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
  86. TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
  87. TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
  88. TCP: Hash tables configured (established 1024 bind 1024)
  89. UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
  90. UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
  91. NET: Registered protocol family 1
  92. NetWinder Floating Point Emulator V0.97 (double precision)
  93. workingset: timestamp_bits=30 max_order=14 bucket_order=0
  94. jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
  95. NET: Registered protocol family 38
  96. Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
  97. io scheduler mq-deadline registered
  98. io scheduler kyber registered
  99. nuc980_gpio_probe - pdev = b0004000.gpio
  100. nuc980_dma_probe - pdev = b0008000.dma
  101. nuc980-dma b0008000.dma: NUC980 DMA ready
  102. b0070000.serial: ttyS0 at I/O 0xf0070000 (irq = 36, base_baud = 750000) is a NUC980
  103. brd: module loaded
  104. nuc980 mtd nand driver version: 20220317
  105. RX nuc980_qspi0_probe: dma0chan0 module removed
  106. TX nuc980_qspi0_probe: dma0chan1 module removed
  107. spi-nand: probe of spi0.0 failed with error -110
  108. CAN device driver interface
  109. ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  110. EHCI over-current active level low...
  111. nuc980-ehci b0015000.usbh_ehci: Nuvoton NUC980 EHCI Host Controller
  112. nuc980-ehci b0015000.usbh_ehci: new USB bus registered, assigned bus number 1
  113. nuc980-ehci b0015000.usbh_ehci: irq 23, io mem 0xb0015000
复制代码



---------------------------
新唐官方NUC980-iiot板同一张SD卡的输出正常, 顺利到login

  1. NUC980 IBR 20180813
  2. Boot from SD
  3. DDR-OK
  4. finish SD dow�d


  5. U-Boot 2016.11-g4739e90-dirty (Feb 26 2024 - 09:56:37 +0800)

  6. CPU: NUC980
  7. Board: NUC980
  8. DRAM:  64 MiB
  9. MMC:   NUC980 SD: 0
  10. In:    serial
  11. Out:   serial
  12. Err:   serial
  13. Net:   Net Initialization Skipped
  14. No ethernet found.
  15. Hit any key to stop autoboot:  0
  16. reading uImage
  17. 3833240 bytes read in 506 ms (7.2 MiB/s)
  18. reading nuc980-dev-v1.0.dtb
  19. 27807 bytes read in 8 ms (3.3 MiB/s)
  20. ## Booting kernel from Legacy Image at 00007fc0 ...
  21.    Image Name:   Linux-5.10.140+
  22.    Image Type:   ARM Linux Kernel Image (uncompressed)
  23.    Data Size:    3833176 Bytes = 3.7 MiB
  24.    Load Address: 00008000
  25.    Entry Point:  00008000
  26.    Verifying Checksum ... OK
  27. ## Flattened Device Tree blob at 00c00000
  28.    Booting using the fdt blob at 0xc00000
  29.    XIP Kernel Image ... OK
  30.    Loading Device Tree to 03e7b000, end 03e84c9e ... OK

  31. StartiÿBooting Linux on physical CPU 0x0
  32. Linux version 5.10.140+ (shuuei@H8) (arm-buildroot-linux-gnueabi-gcc.br_real (Buildroot 2023.02.8) 11.4.0, GNU ld (GNU Binutils) 2.38) #1 PREEMPT Mon Feb 26 10:18:45 CST 2024
  33. CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
  34. CPU: VIVT data cache, VIVT instruction cache
  35. OF: fdt: Machine model: Nuvoton NUC980 DEV V1.0
  36. Memory policy: Data cache writeback
  37. Zone ranges:
  38.   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
  39. Movable zone start for each node
  40. Early memory node ranges
  41.   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
  42. Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
  43. Built 1 zonelists, mobility grouping on.  Total pages: 16256
  44. Kernel command line: console=ttyS0,115200n8 noinitrd rootfstype=ext4 root=/dev/mmcblk0p2 rw rootwait mem=64M
  45. Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
  46. Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
  47. mem auto-init: stack:off, heap alloc:off, heap free:off
  48. Memory: 56516K/65536K available (5789K kernel code, 680K rwdata, 1252K rodata, 168K init, 244K bss, 9020K reserved, 0K cma-reserved)
  49. SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  50. rcu: Preemptible hierarchical RCU implementation.
  51. rcu:         RCU event tracing is enabled.
  52.         Trampoline variant of Tasks RCU enabled.
  53. rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
  54. NR_IRQS: 545
  55. clocksource: nuc980-timer5: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 62215505635 ns
  56. sched_clock: 24 bits at 120kHz, resolution 8333ns, wraps every 69905062489ns
  57. Console: colour dummy device 80x30
  58. printk: console [ttyS0] enabled
  59. Calibrating delay loop... 148.88 BogoMIPS (lpj=744448)
  60. pid_max: default: 32768 minimum: 301
  61. Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
  62. Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
  63. CPU: Testing write buffer coherency: ok
  64. Setting up static identity map for 0x8400 - 0x843c
  65. rcu: Hierarchical SRCU implementation.
  66. devtmpfs: initialized
  67. clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
  68. futex hash table entries: 256 (order: -1, 3072 bytes, linear)
  69. pinctrl core: initialized pinctrl subsystem
  70. NET: Registered protocol family 16
  71. DMA: preallocated 256 KiB pool for atomic coherent allocations
  72. <DT> nuc980_dt_device_init +
  73. <DT> nuc980_dt_device_init -
  74. nuc980-pinctrl apb:pinctrl@b0000000: initialized NUC980 pinctrl driver
  75. SCSI subsystem initialized
  76. usbcore: registered new interface driver usbfs
  77. usbcore: registered new interface driver hub
  78. usbcore: registered new device driver usb
  79. mc: Linux media interface: v0.10
  80. videodev: Linux video capture interface: v2.00
  81. clocksource: Switched to clocksource nuc980-timer5
  82. NET: Registered protocol family 2
  83. IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
  84. tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
  85. TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
  86. TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
  87. TCP: Hash tables configured (established 1024 bind 1024)
  88. UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
  89. UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
  90. NET: Registered protocol family 1
  91. NetWinder Floating Point Emulator V0.97 (double precision)
  92. workingset: timestamp_bits=30 max_order=14 bucket_order=0
  93. jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
  94. NET: Registered protocol family 38
  95. Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
  96. io scheduler mq-deadline registered
  97. io scheduler kyber registered
  98. nuc980_gpio_probe - pdev = b0004000.gpio
  99. nuc980_dma_probe - pdev = b0008000.dma
  100. nuc980-dma b0008000.dma: NUC980 DMA ready
  101. b0070000.serial: ttyS0 at I/O 0xf0070000 (irq = 36, base_baud = 750000) is a NUC980
  102. brd: module loaded
  103. nuc980 mtd nand driver version: 20220317
  104. RX nuc980_qspi0_probe: dma0chan0 module removed
  105. TX nuc980_qspi0_probe: dma0chan1 module removed
  106. spi-nand spi0.0: Winbond SPI NAND was found.
  107. spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
  108. 2 fixed-partitions partitions found on MTD device spi0.0
  109. Creating 2 MTD partitions on "spi0.0":
  110. 0x000000000000-0x000000800000 : "kernel"
  111. 0x000000800000-0x000001000000 : "rootfs"
  112. CAN device driver interface
  113. ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  114. EHCI over-current active level low...
  115. nuc980-ehci b0015000.usbh_ehci: Nuvoton NUC980 EHCI Host Controller
  116. nuc980-ehci b0015000.usbh_ehci: new USB bus registered, assigned bus number 1
  117. nuc980-ehci b0015000.usbh_ehci: irq 23, io mem 0xb0015000
  118. nuc980-ehci b0015000.usbh_ehci: USB 2.0 started, EHCI 0.95
  119. hub 1-0:1.0: USB hub found
  120. hub 1-0:1.0: 2 ports detected
  121. NUC980 EHCI init done.
  122. ehci-platform: EHCI generic platform driver
  123. ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  124. usb_hcd_nuc980_probe, name: b0017000.usbh_ohci, 0
  125. nuc980-ohci b0017000.usbh_ohci: Nuvoton NUC980 OHCI Host Controller
  126. nuc980-ohci b0017000.usbh_ohci: new USB bus registered, assigned bus number 2
  127. nuc980-ohci b0017000.usbh_ohci: irq 24, io mem 0xb0017000
  128. hub 2-0:1.0: USB hub found
  129. hub 2-0:1.0: 8 ports detected
  130. NUC980 OHCI init done.
  131. ohci-platform: OHCI generic platform driver
  132. usbcore: registered new interface driver usb-storage
  133. i2c /dev entries driver
  134. usb usb1-port1: over-current condition
  135. nuc980_sd_probe - pdev = b0018000.sdh
  136. NUC980 Crypto engine enabled.
  137. usbcore: registered new interface driver usbhid
  138. usbhid: USB HID core driver
  139. NET: Registered protocol family 10
  140. usb usb2-port1: over-current condition
  141. Segment Routing with IPv6
  142. sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
  143. NET: Registered protocol family 17
  144. can: controller area network core
  145. NET: Registered protocol family 29
  146. can: raw protocol
  147. can: broadcast manager protocol
  148. usb usb1-port2: over-current condition
  149. can: netlink gateway - max_hops=1
  150. Waiting for root device /dev/mmcblk0p2...
  151. usb usb2-port2: over-current condition
  152. usb usb2-port3: over-current condition
  153. usb usb2-port4: over-current condition
  154. usb usb2-port5: over-current condition
  155. usb usb2-port6: over-current condition
  156. usb usb2-port7: over-current condition
  157. usb usb2-port8: over-current condition
  158. mmc0: new high speed SDHC card at address 59b4
  159. mmcblk0: mmc0:59b4 SMI   15.0 GiB
  160. mmcblk0: p1 p2
  161. EXT4-fs (mmcblk0p2): recovery complete
  162. EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
  163. VFS: Mounted root (ext4 filesystem) on device 179:2.
  164. devtmpfs: mounted
  165. Freeing unused kernel memory: 168K
  166. Kernel memory protection not selected by kernel config.
  167. Run /sbin/init as init process
  168. EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
  169. Seeding 256 bitsrandom: crng init done
  170. and crediting
  171. Saving 256 bits of creditable seed for next boot
  172. Starting syslogd: OK
  173. Starting klogd: OK
  174. Running sysctl: OK
  175. Starting network: OK
  176. Starting ntpd: OK
  177. Starting nginx...
  178. Starting sshd: OK

  179. Welcome to Buildroot
  180. buildroot login:
复制代码


-------
两块板子的对比

NUC980-iiot



我的板子


-----
主要问题

未能成功启动进入login界面, 可能是什么原因呢? 是我硬件的问题还是固件的问题呢?
1. 重新配置编译固件可以解决吗? 是需要单独编译Linux内核, 配置设备树吗?
2. 飞几根线配置对应的引脚可以解决吗?


------
其他一些问题

1. 电源板2层, DC-DC芯片布局这样可以吗? 比以前有没有不辣眼睛了一点么...



2. 核心板4层: 电容好多... 抄的官方板的位号和布局...
后续想加SPI Flash存储器作为更新升级的中转, 不知道行不行.
  



3. 底板4层. 现在复位按钮不灵光...有时候按下没有反应... 是10/1uF电容的原因吗


这是我的复位电路. 有时候没反应就只能手动飞线复位...




4. 铺铜问题: 这次我的几块板子都没有铺铜... 会不会有什么影响呢
VSS和几路VDD都是30mil的线直接在对应的层手动拉.
不太喜欢铺铜, 觉得不铺铜可以看到每个层里面的线, 挺好看的.


5. 以太网拓展板的问题: 我是想单独做一块以太网板拼接,
但是这样信号通过这么多排针排母, 会有什么问题么...


6: 还有很多看不懂官方设计的问题,
像复位电路, usb电源电路, usb和sd卡座接地电路, 磁珠选型等


官方复位电路




官方外壳接地电路




官方usb标识电源




官方磁珠与0欧电阻




还请大家批评指正! 答疑解惑! 谢谢!
-----
参考资料
1. 新唐官方板使用手册
芯片手册
硬件参考设计
2. 开源NUC980设计
3. B站UP主讲解NUC980
4. 开源f1c200s设计记录

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x

阿莫论坛20周年了!感谢大家的支持与爱护!!

知道什么是神吗?其实神本来也是人,只不过神做了人做不到的事情 所以才成了神。 (头文字D, 杜汶泽)

出0入0汤圆

2
发表于 2024-5-11 12:50:25 来自手机 | 只看该作者
晶振会不会太靠近板边?

出0入0汤圆

3
发表于 2024-5-11 14:02:13 来自手机 | 只看该作者
为啥要用SD卡作为启动呢?官方的板子,要么是用SPI flash。要么使用SPI nand 。

出0入0汤圆

4
 楼主| 发表于 2024-5-11 14:34:42 | 只看该作者
liuzhijun2008 发表于 2024-5-11 14:02
为啥要用SD卡作为启动呢?官方的板子,要么是用SPI flash。要么使用SPI nand 。 ...
(引用自3楼)

官方的NUC980-iitot型号的板子提供spi nand flash和sd卡两种板上存储介质的启动方式

主要是因为自己之前用树莓派, 觉得SD卡很方便, 想换就换. 嘿嘿

出0入45汤圆

5
发表于 2024-5-11 14:53:35 | 只看该作者
官方的复位电路就是为了等VDD12 和 VDD33都稳定。 VDD12在上电过程,通过电容开机三极管,从而拉低RST。

出110入8汤圆

6
发表于 2024-5-11 15:00:46 | 只看该作者
本帖最后由 angler12 于 2024-5-11 15:03 编辑

PG[1:0]两个脚啥状态,还有PG8,PG9两个脚啥状态?

出0入0汤圆

7
 楼主| 发表于 2024-5-12 07:15:15 | 只看该作者
本帖最后由 jerryshuuei 于 2024-5-12 07:16 编辑
lnso 发表于 2024-5-11 12:50
晶振会不会太靠近板边?
(引用自2楼)


噢! 好像确实... 这个应该怎么再往里放啊... 边上有一些线要引出, 还是说过孔打到底面?

我想只用0805的电阻电容来着... 好焊一点...

出0入0汤圆

8
 楼主| 发表于 2024-5-12 07:32:04 | 只看该作者
本帖最后由 jerryshuuei 于 2024-5-12 08:06 编辑
angler12 发表于 2024-5-11 15:00
PG[1:0]两个脚啥状态,还有PG8,PG9两个脚啥状态?
(引用自6楼)


额 PG1对应SW_2, PG0对应SW_1
拨码开关接到地是开, 对应丝印是ON, 电位表示是0

USB启动的时候PG[1:0]是00
SD卡启动的时候PG[1:0]是01

我没有接SPI Flash, PG[9:8]也会影响么?
目前焊的时候R6是没有焊的, PG8悬空,
PG9对应的R7是焊上接地的.

出0入0汤圆

9
 楼主| 发表于 2024-5-12 07:56:05 | 只看该作者
myiccdream 发表于 2024-5-11 14:53
官方的复位电路就是为了等VDD12 和 VDD33都稳定。 VDD12在上电过程,通过电容开机三极管,从而拉低RST。
...
(引用自5楼)

信息量好大! 学习了! 感谢!

这个延迟时间和等待电源稳定感觉自己画板子抄板子的时候根本意识不到...

还有像用三极管拉低, FB磁珠, 470欧, 4.7欧等各种阻值的电阻...也想不到

而且像我启动不了的原因应该怎么排查啊, 重新做固件还是飞线呢...

这回把几块板子都分开了, 重新画和焊也方便一点

出0入0汤圆

10
 楼主| 发表于 2024-5-13 16:16:09 | 只看该作者
啊 把对应设备树dts文件里相应的ohci, ehci的地址给disabled掉了

可以进入系统了

出0入0汤圆

11
 楼主| 发表于 2024-5-13 16:24:40 | 只看该作者
jerryshuuei 发表于 2024-5-12 07:32
额 PG1对应SW_2, PG0对应SW_1
拨码开关接到地是开, 对应丝印是ON, 电位表示是0

(引用自8楼)

噢... sd卡也是用spi通信的... 所以两个应该只能焊接一个
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片。注意:要连续压缩2次才能满足要求!!】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-7-22 22:33

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表