您尚未登录。

楼主 #1 2017-12-14 11:46:44

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,348
积分: 9202

刚刚收到的N32903U1DN开发板

连接串口,上电,8M SDRAM Linux跑得正欢:

Init RTC....OK
DDR size:  8MB
SD Port0 Booting Fail - No/Bad Card Insert
NAND Booting (2K-page 4 Address Cycle) Success
Clock Skew
DQSODS 0x1010
CKDQSDS 0x888800
Code Executes at 0x00700000
FA93 Nand Boot Loader entry (20131031).
Get NANDLoader image from block 0x0 ..
Load file length 0x403F8, execute address 0x600000
NVT Loader start
fsInitFileSyste
Load code from NAND
N3290 UDC Library (20131017)
[GNAND] GNAND Library Version: V1.02.3
Initial NAND NonOS Driver (20131023) for NAND port 0
[GNAND] GNAND format version on NAND chip: V1.01
[GNAND] NAND flash chip detected, chip ID is 0x1-0xF1 !
Total Disk Size 129,368,064
kernel found
Jump to kernelLinux version 2.6.35.4 (cust@custVBOX) (gcc version 4.2.1) #63 PREEMPT Fri Nov 7 15:05:40 CST 2014
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: W55FA93
Memory policy: ECC disabled, Data cache writeback
CPU type 0x00fa5c30 is W55FA93
w55fa93_external_clock    = 12.0 MHz
w55fa93_apll_clock    = 72000 KHz
w55fa93_upll_clock    = 192000 KHz
w55fa93_system_clock    = 192000 KHz
w55fa93_cpu_clock    = 192000 KHz
w55fa93_ahb_clock    = 96000 KHz
w55fa93_apb_clock    = 48000 KHz
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 2032
Kernel command line: root=/dev/ram0 console=ttyS1,115200n8 rdinit=/sbin/init mem=8M vt.global_cursor_default=0
PID hash table entries: 32 (order: -5, 128 bytes)
Dentry cache hash table entries: 1024 (order: 0, 4096 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 8MB = 8MB total
Memory: 5164k/5164k available, 3028k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xff600000 - 0xffe00000   (   8 MB)
    vmalloc : 0xc1000000 - 0xe0000000   ( 496 MB)
    lowmem  : 0xc0000000 - 0xc0800000   (   8 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc007a000   ( 456 kB)
      .text : 0xc007a000 - 0xc0273000   (2020 kB)
      .data : 0xc0274000 - 0xc02909e0   ( 115 kB)
Hierarchical RCU implementation.
    RCU-based detection of stalled CPUs is disabled.
    Verbose stalled-CPUs detection is disabled.
NR_IRQS:32
Console: colour dummy device 80x30
console [ttyS1] enabled
Calibrating delay loop... 95.64 BogoMIPS (lpj=478208)
pid_max: default: 4096 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
devtmpfs: initialized
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Advanced Linux Sound Architecture Driver Version 1.0.23.
Switching to clocksource w55fa93-timer1
register clock device
w55fa93_edma_init
JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
ROMFS MTD (C) 2007 Red Hat, Inc.
msgmni has been set to 16
alg: No test for stdrng (krng)
io scheduler noop registered (default)
---w55fa93fb_init ----w55fa93 frame buffer init
###########w55fa93 frame buffer probe############
1*** fbi->fb->fix.smem_len = 0x7f800
REG_LCM_LCDCInt = 0x20000 !!!
Vsync flag is encountered !!!
check_var(var=c0737820, info=c0737800)
w55fa93fb_set_par !!! =================
Console: switching to colour frame buffer device 60x34
w55fa93 LCD driver has been installed successfully
w55fa93 SysMgr driver has been initialized successfully!
93BLT major_no = 252, minor_no = 0
w55fa93 BLT driver has been initialized successfully!
W55FA93 uart driver has been initialized successfully!
w55fa93-uart0: ttyS0 at MMIO 0xb8008000 (irq = 13) is a W55FA93
w55fa93-uart1: ttyS1 at MMIO 0xb8008100 (irq = 24) is a W55FA93
brd: module loaded
m25p80 spi0.0: found w25q128, expected w25q32
m25p80 spi0.0: w25q128 (16384 Kbytes)
Creating 1 MTD partitions on "m25p80":
0x000000780000-0x000000f80000 : "UserData"
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Init CONFIG_W55FA93_USB_HOST_LIKE_PORT2
ohci_hcd_w55fa93_drv_probe
usb_hcd_w55fa93_probe
get_pll
External clock = 12MHz
NF: 32, NR: 2, NO: 1
PLL is 192   ---
div1 = 1
div0 = 1
div0 = 2
div0 = 3
div0 = 4
Div1 = 0,  Div0 = 3
USBH IP  Reset
CONFIG_W55FA93_USB_HOST_LIKE_PORT1
w55fa93-ohci w55fa93-ohci: Nuvoton W55FA93 OHCI Host Controller
w55fa93-ohci w55fa93-ohci: new USB bus registered, assigned bus number 1
w55fa93-ohci w55fa93-ohci: irq 18, io mem 0xb1009000
ohci_w55fa93_start
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
USB device plug in
usbcore: registered new interface driver cdc_wdm
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
input: W55FA93 Keypad as /devices/virtual/input/input0
W55FA93 keypad driver has been initialized successfully!
w55fa93-rtc w55fa93-rtc: rtc core: registered w55fa93-rtc as rtc0
Init Nuvoton RTC!
i2c gpio scl=(1)13, sda=(1)14
w55fa93_gpio_configure()-1,13
w55fa93_gpio_configure()-1,14
W55FA93 MMC/SD driver (20140109) has been initialized successfully!
SDHC card will run under 24MHz clock on SD port.
After snd_soc_register_dai
w55fa93evb_asoc_dev = 0xc05cb280 !!!
asoc: W55FA93_DAC HiFi <-> w55fa93-spu mapping ok
ret = 0x0 !!!, platform device added
******* global g_pw55fa93_adc_data address = 0xc048aea0
0 = platform_driver_register

asoc: W55FA93ADC HiFi <-> w55fa93adc_cpu_dai mapping ok
ALSA device list:
  #0: W55FA93_SPU (W55FA93_DAC)
  #1: mach-W55FA93_ADC (codecADC)
w55fa93-rtc w55fa93-rtc: setting system clock to 2005-01-01 00:00:03 UTC (1104537603)
Freeing init memory: 456K
init started: BusyBox v1.15.2 (2013-07-16 10:11:50 CST)
starting pid 287, tty '': '/etc/init.d/rcS'
sh: can't open '/proc/sys/kernel/hotplug': No such file or directory
[Mount JFFS2]: /dev/mtdblock0 --> /mnt/mtdblock0
starting pid 309, tty '': '-/bin/sh'
 
**************************
- Nuvoton ARM9 MDK903-EK -
---  www.mcuzone.com  ---
**************************
 


BusyBox v1.15.2 (2013-07-16 10:11:50 CST) hush - the humble shell

/ #

QQ20171214134140.jpeg

QQ20171214134148.jpeg





离线

楼主 #2 2017-12-20 19:39:37

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,348
积分: 9202

Re: 刚刚收到的N32903U1DN开发板

烧录 usb摄像头程序步骤:
1. 插入USB线, 接上电源, ND0, ND2(拨码开关1,2位)均拨向外面.
2. 上电, 电脑出现U盘盘符。 打开TurboWriter.exe, 点击右上角的 connect 按钮, 下拉框选择NAND。

烧写loader:
QQ20171220193805.png

烧写usb摄像头主程序
QQ20171220193637.png





离线

楼主 #3 2017-12-20 19:51:01

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,348
积分: 9202

Re: 刚刚收到的N32903U1DN开发板

jlink连接N32903U1DN:
QQ20171220194920.png

使用rce命令读寄存器cp15 0, 1:
QQ20171220194924.png

J-Link>rce 0,0,0,0
CP15[0, 0, 0, 0] = 0x41069265
J-Link>rce 0,0,0,1
CP15[0, 0, 0, 1] = 0x1D112112
J-Link>





离线

楼主 #4 2017-12-24 18:27:29

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,348
积分: 9202

Re: 刚刚收到的N32903U1DN开发板

QQ20171224182553.jpg

usb摄像头演示程序, 使用ov7725感光芯片。





离线

#5 2019-03-15 20:50:09

超级萌新
会员
注册时间: 2018-05-04
已发帖子: 408
积分: 407

Re: 刚刚收到的N32903U1DN开发板

QQ20190315204438.png

楼主好,
我也是用这个 MCUZONE 的 N32903U1DN 开发板,

可是无论如何用 turbowriter 都连不上开发板呢?
换了几台电脑, 换过电源, 换过USB线, 什么都换过, 还是一样.

我的新塘官方 N32926 板子也是这么连的, 可以正常.
这个板子里面spi flash 的程序也能正常跑, 但是进入不了烧录模式

离线

#6 2019-03-15 20:53:48

jimmy
会员
注册时间: 2017-10-29
已发帖子: 316
积分: 315

Re: 刚刚收到的N32903U1DN开发板

新唐这个坑爹货,一个芯片一个烧录程序,926和903不能共用烧录软件,看看是不是这个原因。

离线

#7 2019-03-15 20:57:42

超级萌新
会员
注册时间: 2018-05-04
已发帖子: 408
积分: 407

Re: 刚刚收到的N32903U1DN开发板

jimmy 说:

新唐这个坑爹货,一个芯片一个烧录程序,926和903不能共用烧录软件,看看是不是这个原因。

QQ20190315204416.png



真是这个原因, 到新塘的 ftp 上面下载一个 903 专用的 turbowriter 解决了.

谢谢大神!

离线

#8 2019-03-18 08:57:40

超级萌新
会员
注册时间: 2018-05-04
已发帖子: 408
积分: 407

Re: 刚刚收到的N32903U1DN开发板

新唐真是大坑,一个芯片对应一个烧录程序,而不是统一用一个。新出的N9H又有N多个烧录软件,看来新唐内部管理相当混乱了。


jlink v9可以单步调试N32903,v8有问题。

最近编辑记录 超级萌新 (2019-03-18 08:58:12)

离线

#9 2021-03-08 09:30:58

txl
会员
注册时间: 2018-12-08
已发帖子: 13
积分: 12

Re: 刚刚收到的N32903U1DN开发板

估计我们也掉到这个坑里了,用的是N32905的烧写工具,烧写N32903的SPI nor FLASH,好像一直不成功。

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn