您尚未登录。

#1 Re: DIY/综合/Arduino/写字机/3D打印机/智能小车/平衡车/四轴飞行/MQTT/物联网 » 薅合宙羊毛的AIR724开发板配他自己家的SIM卡,无法联网, 求支援. » 2020-06-04 08:53:58

哇酷小二 说:

刚刚我也测试了, 出厂固件RNDIS不能上网,需要升级固件,  可以加这个群 1092305811

在群附件有最新的 v426 固件下载, 本站下载: sw_file_20200421203633_AirM2M_720U_V426_LTE_AT.7z

选好固件, 点击【下载】,

按住 U_BOOT(USB BOOT)按键, 然后按重启按键,

就会自动刷新固件.

由于这个 8910 方案是双卡单待的,

只能一张卡上网.

默认是SIM0可以上网,

如果想要 SIM1上网, 需要用AT指令切换:



https://whycan.cn/files/members/3907/2020-05-14_152931.png

根据我的测试,执行完切卡命令 AT+SIMCROSS=1 之后还得执行 AT+RESET 才行。

否则RNDIS还是不能上网。

#3 Re: DIY/综合/Arduino/写字机/3D打印机/智能小车/平衡车/四轴飞行/MQTT/物联网 » 小白请教一下这个中国银行网银密码器是什么原理? » 2020-04-10 08:19:41

jiangming1399 说:

TOTP,Time-based One-time Password algorithm,一种根据时间和预制密钥计算一次性密码的算法

专业!这种对时间精度要求高吗,记得是1分钟左右变化一次。

#5 Re: 全志 SOC » v3s u-boot-2019.10 usb host 能识别u盘 » 2020-02-04 18:38:44

牛叉啊, 直接克隆编译就可以在 荔枝派zero 跑吗?

#14 Re: 全志 SOC » 有没有“”设备树, Linux“”配置说明 » 2019-12-16 23:11:43

大概知道了,

这里并没有注册PE引脚

https://github.com/Lichee-Pi/linux/blob/zero-4.13.y/drivers/pinctrl/sunxi/pinctrl-sun8i-v3s.c

/*
 * Allwinner V3s SoCs pinctrl driver.
 *
 * Copyright (C) 2016 Icenowy Zheng <icenowy@aosc.xyz>
 *
 * Based on pinctrl-sun8i-h3.c, which is:
 * Copyright (C) 2015 Jens Kuske <jenskuske@gmail.com>
 *
 * Based on pinctrl-sun8i-a23.c, which is:
 * Copyright (C) 2014 Chen-Yu Tsai <wens@csie.org>
 * Copyright (C) 2014 Maxime Ripard <maxime.ripard@free-electrons.com>
 *
 * This file is licensed under the terms of the GNU General Public
 * License version 2.  This program is licensed "as is" without any
 * warranty of any kind, whether express or implied.
 */

#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/pinctrl/pinctrl.h>

#include "pinctrl-sunxi.h"

static const struct sunxi_desc_pin sun8i_v3s_pins[] = {
	/* Hole */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 0),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "uart2"),		/* TX */
		  SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 0)),	/* PB_EINT0 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 1),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "uart2"),		/* RX */
		  SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 1)),	/* PB_EINT1 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 2),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "uart2"),		/* RTS */
		  SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 2)),	/* PB_EINT2 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 3),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "uart2"),		/* D1 */
		  SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 3)),	/* PB_EINT3 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 4),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "pwm0"),
		  SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 4)),	/* PB_EINT4 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 5),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "pwm1"),
		  SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 5)),	/* PB_EINT5 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 6),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "i2c0"),		/* SCK */
		  SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 6)),	/* PB_EINT6 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 7),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "i2c0"),		/* SDA */
		  SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 7)),	/* PB_EINT7 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 8),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "i2c1"),		/* SDA */
		  SUNXI_FUNCTION(0x3, "uart0"),		/* TX */
		  SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 8)),	/* PB_EINT8 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 9),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "i2c1"),		/* SCK */
		  SUNXI_FUNCTION(0x3, "uart0"),		/* RX */
		  SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 9)),	/* PB_EINT9 */
	/* Hole */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(C, 0),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "mmc2"),		/* CLK */
		  SUNXI_FUNCTION(0x3, "spi0")),		/* MISO */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(C, 1),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "mmc2"),		/* CMD */
		  SUNXI_FUNCTION(0x3, "spi0")),		/* CLK */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(C, 2),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "mmc2"),		/* RST */
		  SUNXI_FUNCTION(0x3, "spi0")),		/* CS */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(C, 3),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "mmc2"),		/* D0 */
		  SUNXI_FUNCTION(0x3, "spi0")),		/* MOSI */
	/* Hole */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 0),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "csi"),		/* PCLK */
		  SUNXI_FUNCTION(0x3, "lcd")),		/* CLK */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 1),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "csi"),		/* MCLK */
		  SUNXI_FUNCTION(0x3, "lcd")),		/* DE */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 2),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "csi"),		/* HSYNC */
		  SUNXI_FUNCTION(0x3, "lcd")),		/* HSYNC */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 3),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "csi"),		/* VSYNC */
		  SUNXI_FUNCTION(0x3, "lcd")),		/* VSYNC */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 4),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "csi"),		/* D0 */
		  SUNXI_FUNCTION(0x3, "lcd")),		/* D2 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 5),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "csi"),		/* D1 */
		  SUNXI_FUNCTION(0x3, "lcd")),		/* D3 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 6),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "csi"),		/* D2 */
		  SUNXI_FUNCTION(0x3, "lcd")),		/* D4 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 7),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "csi"),		/* D3 */
		  SUNXI_FUNCTION(0x3, "lcd")),		/* D5 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 8),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "csi"),		/* D4 */
		  SUNXI_FUNCTION(0x3, "lcd")),		/* D6 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 9),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "csi"),		/* D5 */
		  SUNXI_FUNCTION(0x3, "lcd")),		/* D7 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 10),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "csi"),		/* D6 */
		  SUNXI_FUNCTION(0x3, "lcd")),		/* D10 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 11),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "csi"),		/* D7 */
		  SUNXI_FUNCTION(0x3, "lcd")),		/* D11 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 12),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "csi"),		/* D8 */
		  SUNXI_FUNCTION(0x3, "lcd")),		/* D12 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 13),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "csi"),		/* D9 */
		  SUNXI_FUNCTION(0x3, "lcd")),		/* D13 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 14),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "csi"),		/* D10 */
		  SUNXI_FUNCTION(0x3, "lcd")),		/* D14 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 15),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "csi"),		/* D11 */
		  SUNXI_FUNCTION(0x3, "lcd")),		/* D15 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 16),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "csi"),		/* D12 */
		  SUNXI_FUNCTION(0x3, "lcd")),		/* D18 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 17),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "csi"),		/* D13 */
		  SUNXI_FUNCTION(0x3, "lcd")),		/* D19 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 18),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "csi"),		/* D14 */
		  SUNXI_FUNCTION(0x3, "lcd")),		/* D20 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 19),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "csi"),		/* D15 */
		  SUNXI_FUNCTION(0x3, "lcd")),		/* D21 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 20),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "csi"),		/* FIELD */
		  SUNXI_FUNCTION(0x3, "csi_mipi")),	/* MCLK */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 21),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "csi"),		/* SCK */
		  SUNXI_FUNCTION(0x3, "i2c1"),		/* SCK */
		  SUNXI_FUNCTION(0x4, "uart1")),	/* TX */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 22),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "csi"),		/* SDA */
		  SUNXI_FUNCTION(0x3, "i2c1"),		/* SDA */
		  SUNXI_FUNCTION(0x4, "uart1")),	/* RX */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 23),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x3, "lcd"),		/* D22 */
		  SUNXI_FUNCTION(0x4, "uart1")),	/* RTS */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 24),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x3, "lcd"),		/* D23 */
		  SUNXI_FUNCTION(0x4, "uart1")),	/* CTS */
	/* Hole */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(F, 0),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "mmc0"),		/* D1 */
		  SUNXI_FUNCTION(0x3, "jtag")),		/* MS */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(F, 1),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "mmc0"),		/* D0 */
		  SUNXI_FUNCTION(0x3, "jtag")),		/* DI */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(F, 2),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "mmc0"),		/* CLK */
		  SUNXI_FUNCTION(0x3, "uart0")),	/* TX */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(F, 3),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "mmc0"),		/* CMD */
		  SUNXI_FUNCTION(0x3, "jtag")),		/* DO */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(F, 4),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "mmc0"),		/* D3 */
		  SUNXI_FUNCTION(0x3, "uart0")),	/* RX */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(F, 5),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "mmc0"),		/* D2 */
		  SUNXI_FUNCTION(0x3, "jtag")),		/* CK */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(F, 6),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out")),
	/* Hole */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(G, 0),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "mmc1"),		/* CLK */
		  SUNXI_FUNCTION_IRQ_BANK(0x6, 1, 0)),	/* PG_EINT0 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(G, 1),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "mmc1"),		/* CMD */
		  SUNXI_FUNCTION_IRQ_BANK(0x6, 1, 1)),	/* PG_EINT1 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(G, 2),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "mmc1"),		/* D0 */
		  SUNXI_FUNCTION_IRQ_BANK(0x6, 1, 2)),	/* PG_EINT2 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(G, 3),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "mmc1"),		/* D1 */
		  SUNXI_FUNCTION_IRQ_BANK(0x6, 1, 3)),	/* PG_EINT3 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(G, 4),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "mmc1"),		/* D2 */
		  SUNXI_FUNCTION_IRQ_BANK(0x6, 1, 4)),	/* PG_EINT4 */
	SUNXI_PIN(SUNXI_PINCTRL_PIN(G, 5),
		  SUNXI_FUNCTION(0x0, "gpio_in"),
		  SUNXI_FUNCTION(0x1, "gpio_out"),
		  SUNXI_FUNCTION(0x2, "mmc1"),		/* D3 */
		  SUNXI_FUNCTION_IRQ_BANK(0x6, 1, 5)),	/* PG_EINT5 */
};

static const struct sunxi_pinctrl_desc sun8i_v3s_pinctrl_data = {
	.pins = sun8i_v3s_pins,
	.npins = ARRAY_SIZE(sun8i_v3s_pins),
	.irq_banks = 2,
	.irq_bank_base = 1,
	.irq_read_needs_mux = true
};

static int sun8i_v3s_pinctrl_probe(struct platform_device *pdev)
{
	return sunxi_pinctrl_init(pdev,
				  &sun8i_v3s_pinctrl_data);
}

static const struct of_device_id sun8i_v3s_pinctrl_match[] = {
	{ .compatible = "allwinner,sun8i-v3s-pinctrl", },
	{}
};

static struct platform_driver sun8i_v3s_pinctrl_driver = {
	.probe	= sun8i_v3s_pinctrl_probe,
	.driver	= {
		.name		= "sun8i-v3s-pinctrl",
		.of_match_table	= sun8i_v3s_pinctrl_match,
	},
};
builtin_platform_driver(sun8i_v3s_pinctrl_driver);

而我用的是这个dts:
https://github.com/Lichee-Pi/linux/blob/zero-4.13.y/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-with-800x480-lcd.dts

然后我改用这个dts:
https://github.com/Lichee-Pi/linux/blob/zero-4.13.y/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts

就可以了,

估计是这个:

&panel {
	compatible = "urt,umsh-8596md-t", "simple-panel";
};

会去初始化panel那组引脚,而没有找到定义.

#15 Re: 全志 SOC » 有没有“”设备树, Linux“”配置说明 » 2019-12-16 22:57:52

[    0.737656] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE0
[    0.745355] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE1
[    0.753111] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE2
[    0.760807] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE3
[    0.768498] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE4
[    0.776183] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE5
[    0.783852] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE6
[    0.791534] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE7
[    0.799216] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE8
[    0.806898] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE9
[    0.814567] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE10
[    0.822335] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE11
[    0.830104] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE12
[    0.837873] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE13
[    0.845630] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE14
[    0.853397] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE15
[    0.861166] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE16
[    0.868935] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE17
[    0.876703] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE18
[    0.884460] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE19
[    0.892229] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE23
[    0.899999] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE24
[    0.909232] panel-simple panel: panel supply power not found, using dummy regulator
[    0.918433] libphy: Fixed MDIO Bus: probed
[    0.922919] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.929548] ehci-platform: EHCI generic platform driver
[    0.935056] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.940750] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.948708] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    0.976198] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.983421] hub 1-0:1.0: USB hub found
[    0.987387] hub 1-0:1.0: 1 port detected
[    0.991932] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.998268] ohci-platform: OHCI generic platform driver
[    1.003831] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    1.010578] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    1.018569] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    1.091257] hub 2-0:1.0: USB hub found
[    1.095106] hub 2-0:1.0: 1 port detected
[    1.102667] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    1.112464] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    1.119389] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.123952] i2c /dev entries driver
[    1.129356] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.196198] sunxi-mmc 1c0f000.mmc: base:0xc4069000 irq:24
[    1.203269] usbcore: registered new interface driver usbhid
[    1.208972] usbhid: USB HID core driver
[    1.215210] NET: Registered protocol family 17
[    1.219929] Key type dns_resolver registered
[    1.224233] Registering SWP/SWPB emulation handler
[    1.234652] simple-framebuffer 43e89000.framebuffer: framebuffer at 0x43e89000, 0x177000 bytes, mapped to 0xc4380000
[    1.245394] simple-framebuffer 43e89000.framebuffer: format=x8r8g8b8, mode=800x480x32, linelength=3200
[    1.263856] Console: switching to colour frame buffer device 100x30
[    1.279863] simple-framebuffer 43e89000.framebuffer: fb0: simplefb registered!
[    1.291578] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[    1.304838] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE0
[    1.316442] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE1
[    1.327813] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE2
[    1.339070] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE3
[    1.350214] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE4
[    1.361301] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE5
[    1.372247] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE6
[    1.383077] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE7
[    1.393803] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE8
[    1.404508] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE9
[    1.415093] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE10
[    1.425638] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE11
[    1.436055] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE12
[    1.446410] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE13
[    1.456706] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE14
[    1.466890] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE15
[    1.476926] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE16
[    1.486853] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE17
[    1.496688] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE18
[    1.506444] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE19
[    1.516136] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE23
[    1.525751] sun8i-v3s-pinctrl 1c20800.pinctrl: unsupported function lcd0 on pin PE24
[    1.535739] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.544309] [drm] No driver support for vblank timestamp query.
[    1.561466] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc073ed78)
[    1.570649] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc073dbf8)
[    1.580115] fb: switching to sun4i-drm-fb from simple
[    1.586955] Console: switching to colour dummy device 80x30

奇怪, 我的也出现这个问题了.

#16 Re: RK3288/RK3399/RK1108 » 以太网mac地址设置为随机,会影响联网吗? » 2019-12-16 19:53:02

BMN李 说:

解决了。是硬件的问题。连不上网络的是1000M网,100M的没问题。就是那个clk串联电阻太大了,gmac的 clk  rxclk txclk。信号幅度被销掉了,改成0R 立马就好了。牺牲网速的话,也可以软件上改,dts里设置max-speed=100。

感谢分享, 看来以后研发部要配一台有 1Gbps口的路由器.

#17 Re: RK3288/RK3399/RK1108 » 以太网mac地址设置为随机,会影响联网吗? » 2019-12-14 08:26:01

https://github.com/torvalds/linux/blob/master/include/linux/etherdevice.h

/**
 * eth_random_addr - Generate software assigned random Ethernet address
 * @addr: Pointer to a six-byte array containing the Ethernet address
 *
 * Generate a random Ethernet address (MAC) that is not multicast
 * and has the local assigned bit set.
 */
static inline void eth_random_addr(u8 *addr)
{
	get_random_bytes(addr, ETH_ALEN);
	addr[0] &= 0xfe;	/* clear multicast bit */
	addr[0] |= 0x02;	/* set local assignment bit (IEEE802) */
}

用 linux 的接口调用的, 感觉冲突应该比较少才对哦。

#18 Re: 全志 SOC » 试一试用MDK ARMCC 编译全志官方f1c100s sdk --- melis » 2019-12-14 08:14:28

估计打包脚本没写好, 不管前面有没有错误, 都会显示 "make image finished..."

这种情况只能跟踪脚本了。

#19 Re: Nuvoton N32905/N32926/NUC972/N9H20/N9H26/N9H30 » 安装 gt9147 驱动的时候出现打开固件失败, 请问这个如何处理? » 2019-12-13 14:41:01

终于找到一个固件: goodix_9147_cfg.zip

拷贝到 /lib/firmware/goodix_9147_cfg.bin

可以注册成功:

# modprobe goodix
[   39.985469] Goodix-TS 0-005d: ID 9147, version: 1040
[   40.058363] input: Goodix Capacitive TouchScreen as /devices/platform/soc/1c27000.i2c/i2c-0/0-005d/input/input1

但是evtest 纹丝不动.


dts这样设置:

        gt9115d: touchscreen@5d {
                compatible = "goodix,gt911";
                reg = <0x5d>;
                interrupt-parent = <&pio>;
                interrupts = <4 3 IRQ_TYPE_EDGE_FALLING>; /* (PE3) */
                pinctrl-names = "default";
                /*pinctrl-0 = <&ts_reset_pin>;*/
                irq-gpios = <&pio 4 3 GPIO_ACTIVE_HIGH>; /* (PE3) */
                reset-gpios = <&pio 4 4 GPIO_ACTIVE_HIGH>; /* RST (PE4) */
                touchscreen-swapped-x-y;
        };

https://github.com/torvalds/linux/blob/master/drivers/input/touchscreen/goodix.c

GOODIX_CONFIG_911_LENGTH 取值是 186, 我那个 goodix_9147_cfg.bin 也刚好186字节。

按理来说应该可以用才对。

#20 Re: Nuvoton N32905/N32926/NUC972/N9H20/N9H26/N9H30 » 安装 gt9147 驱动的时候出现打开固件失败, 请问这个如何处理? » 2019-12-11 19:57:19

找到@xm1994的帖子: https://whycan.cn/t_2688.html

https://github.com/summershrimp/opendeck-linux/commit/eb7a274d02b52a02198e3b2726df822eed0f36c8

drivers/input/touchscreen/goodix.c

这个驱动文件还要打点补丁才行:

@@ -777,6 +777,23 @@ static void goodix_config_cb(const struct firmware *cfg, void *ctx)
		error = goodix_send_cfg(ts, cfg);
		if (error)
			goto err_release_cfg;
	} else {
		u8 check_sum = 0;         //校验和
		int i=0;
		/* 800*480屏使用 */
		u8 write2gt911[GOODIX_CONFIG_911_LENGTH] = {0x42, 0xe0, 0x01, 0x20, 0x03, 0x0a, 0x35, 0x00, 0x01, 0x08, 0x28, 0x08, 0x5a, 0x46, 0x03, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x1a, 0x1e, 0x14, 0x89, 0x2a, 0x09, 0x57, 0x5c, 0xb5, 0x06, 0x00, 0x00, 0x00, 0x02, 0x01, 0x1d, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46, 0x82, 0x94, 0xc5, 0x02, 0x07, 0x00, 0x00, 0x04, 0x96, 0x4a, 0x00, 0x85, 0x54, 0x00, 0x77, 0x5f, 0x00, 0x6a, 0x6c, 0x00, 0x5f, 0x7a, 0x00, 0x5f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x04, 0x06, 0x08, 0x0a, 0x0c, 0x10, 0x12, 0x14, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x04, 0x06, 0x08, 0x0a, 0x0f, 0x10, 0x12, 0x16, 0x18, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x24, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x52, 0x00};
		write2gt911[GOODIX_CONFIG_911_LENGTH - 1] = 0x01; //update flag
		for (i = 0; i < (GOODIX_CONFIG_911_LENGTH - 2); i++)    //校验和计算
			check_sum += write2gt911[i];
		write2gt911[184] = (~check_sum) + 1; //checksum

		error = goodix_i2c_write(ts->client, ts->chip->config_addr, write2gt911, GOODIX_CONFIG_911_LENGTH);

		dev_warn(&ts->client->dev,
				"updated the user defined config \n",
				error);
		/* Let the firmware reconfigure itself, so sleep for 10ms */
		usleep_range(10000, 11000);
	}

	goodix_configure_dev(ts);

可是我的芯片是 GT9147, 这可怎么办呢?

不管了, 先照葫芦画瓢吧.

#22 Re: 全志 SOC » @assert 修改后的 f1c100s u-boot 开源了, 可以引导bsp linux » 2019-12-11 19:47:10

达克罗德 说:

这个uboot和主线uboot有什么区别?

就是从主线u-boot改的, 支持spi nand启动.

#24 Nuvoton N32905/N32926/NUC972/N9H20/N9H26/N9H30 » 安装 gt9147 驱动的时候出现打开固件失败, 请问这个如何处理? » 2019-12-11 19:32:48

nuvoton
回复: 3

# modprobe goodix
[   21.535554] Goodix-TS 0-005d: ID 9147, version: 1040
[   21.541131] Goodix-TS: probe of 0-0014 failed with error -16
[   21.547465] Goodix-TS 0-005d: Direct firmware load for goodix_9147_cfg.bin failed with error -2
[   21.575277] i2c i2c-0: mv64xxx_i2c_fsm: Ctlr Error -- state: 0x7, status: 0x0, addr: 0x5d, flags: 0x1
[   21.585478] Goodix-TS 0-005d: Error reading config (-5), using defaults
[   21.592777] input: Goodix Capacitive TouchScreen as /devices/platform/soc/1c27000.i2c/i2c-0/0-005d/input/input1
# [   21.675839] Goodix-TS 0-005d: I2C transfer error: -6

#26 Re: 全志 SOC » XBOOT尺寸裁剪(170kB不带图形系统) » 2019-11-10 21:03:42

oayzw 说:

是否能考虑把makoserver集成进来?

makoserver 是啥?

#28 Re: 全志 SOC » 有关linux外设驱动的疑问 » 2019-11-05 06:56:25

对, 所以在 Linux下基本没什么机会写器件驱动,因为都被大神写完了,最多适配一下soc的片内外设, 如SPI/I2C/UART/I2S/CAN等控制器,让他们在Linux下能正常工作就行。

#29 Re: 全志 SOC » 【汇总】最便宜的A5 A7 A8 A9 A53芯片汇总 » 2019-11-04 17:23:56

nothing 说:

HI3518EV300比HI3516EV200少了网口,其他一样,价格会便宜一点

是同一个 die ?

#30 Re: VMWare/Linux/Ubuntu/Fedora/CentOS/U-BOOT » 习惯了在vps上面编译代码,又买了一个40G ssd/2G RAM/3x Intel Xeon 搬瓦工vps(运行远程桌面,可以Qt编程) » 2019-11-04 17:14:00

xgui 说:

sudo apt-get install -y vnc4server
sudo apt-get install -y xfce4 xfce4-goodies
mkdir -p ~/.vnc/
chmod +x ~/.vnc/xstartup

#!/bin/bash
xrdb $HOME/.Xresources
startxfce4 &

参考: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-18-04

https://whycan.cn/t_3137.html#p26683
我把 frp 客户端在 ubuntu18.04 跑起来了, ssh 进ubuntu18.04虚拟机相当方便。

#31 Re: VMWare/Linux/Ubuntu/Fedora/CentOS/U-BOOT » 分享Ubuntu下开机启动脚本 » 2019-11-04 17:12:04

总结, 只要在这个文件 /lib/systemd/system/rc-local.service 末尾添加:

[Install]  
WantedBy=multi-user.target  
Alias=rc-local.service  

然后就可以在 /etc/rc.local 里面添加你要执行的命令即可。

比如我的 /etc/rc.local:

#!/bin/bash
echo "frp starting" >> /tmp/run.log
/usr/local/frp/frp_0.27.1_linux_amd64/frpc -c /usr/local/frp/frp_0.27.1_linux_amd64/frpc.ini &

#32 Re: VMWare/Linux/Ubuntu/Fedora/CentOS/U-BOOT » 分享Ubuntu下开机启动脚本 » 2019-11-04 16:38:27

乌龙乌龙!确实执行了, 我在 /etc/rc.local 添加了一行 echo "AAAAAAAAAAAA" > /tmp/test.log

发现这行执行了, 但是接下来其他行没有执行。

说明上面链接的方法还是管用的。

#34 Re: VMWare/Linux/Ubuntu/Fedora/CentOS/U-BOOT » 分享Ubuntu下开机启动脚本 » 2019-11-04 15:46:43

奇怪了, 在阿里云服务器18.04版本编辑 /etc/rc.local 是可以开机启动的, 但是桌面 desktop 版本死活不行

/etc/rc.local   /etc/init.d/rc.local 都不行。

#35 VMWare/Linux/Ubuntu/Fedora/CentOS/U-BOOT » 分享Ubuntu下开机启动脚本 » 2019-11-03 10:17:29

nuvoton
回复: 8

本人小菜鸟,也来分享一下:

Ubuntu14.04 编辑 /etc/init.d/rc.local

Ubuntu18.04 编辑 /etc/rc.local

都是在最末添加你想要开机执行的命令即可。

#37 Re: DIY/综合/Arduino/写字机/3D打印机/智能小车/平衡车/四轴飞行/MQTT/物联网 » 请问大家这个很久没用的红外温度测量仪表面粘粘的, 还有救吗, 用什么可以洗掉? » 2019-10-30 21:44:47

http://ask.zol.com.cn/x/8090925.html

硅胶u盘胶化了,弄得usb插口油腻黏糊糊的,怎么办可以擦去

用碱性的水洗去。。注意不要太浓的 怕腐蚀了您的U盘接口。。
找点天拿水就能擦掉
你确定是硅胶的话,直接用碱水洗就可以了,

#41 Re: 全志 SOC » Debian 9.9 (stretch) 文件系统制作 » 2019-10-13 12:38:48

2019-10-13_12-36-48屏幕截图.png

https://www.linuxquestions.org/questions/debian-26/how-to-install-debian-using-debootstrap-4175465295/

apt-get install gdm3 gnome

想把 X 桌面弄上去, 为什么要接近3G的空间啊, 哭.


请教给位大神, 有没有精简的桌面呢?

#42 Re: 全志 SOC » 今天在Q群看到很有创意的积木外壳 » 2019-09-06 23:14:58

居然还可以这样搭外壳, 第一次见到

#44 Re: 全志 SOC » 荔枝派Nano电阻触摸屏(RTP)使用主线内核无法进中断,大神帮忙看一下 » 2019-09-06 23:12:09

阿黄 说:

我是修改
#define SUN4I_TP_EN(x)    ((x) << 5)
#define SUN4I_TP_DUAL_EN(x)    ((x) << 6)
#define SUN4I_TP_CALI_EN(x)    ((x) << 7)

并且
        reg |= SUN4I_TP_EN(1);
        reg |= TP_MODE_EN(0);
        reg |= ADC_CHAN_SELECT(2);

OK

搞定了, 非常感谢!

#45 Re: 全志 SOC » 使用h3跑linux上的fbtft,出现spi通信错误 » 2019-09-06 23:07:10

那是因为没有没有上拉, 设备树把上拉配置就可以了?

#46 Re: Cortex M0/M3/M4/M7 » stm32f103 设置pwm输出后马上设置pwm捕获不成功 » 2019-09-04 20:39:21

如果上电就进入输入捕获就可以的话,那说明输入捕获初始化没问题咯,那么设置成输出再设置成输入是否还可以呢?就单纯自己给脉冲 不用电机的。自己用杜邦线怼几下咯。 有一种情况就是输出脉冲后,MCU进入输入捕获这个切换需要一点点时间。而电机响应太快。

#48 Re: 君正Ingenic/X1000/X2000/T10/T20/T30 » X1000 Linux 执行 ts_test ts_calibrate 都提示 No such file or directory, 求教 » 2019-07-28 23:04:27

前天刚好碰到

https://stackoverflow.com/questions/31802341/ts-calibrate-error-ts-open-no-such-file-or-directory


手动加入环境变量, 药到病除:
TSLIB_TSDEVICE=/dev/input/event0 ts_calibrate
TSLIB_TSDEVICE=/dev/input/event0 ts_test

/dev/input/event0 根据实际情况填写

#50 Re: 全志 SOC » licheepi nano 移植SDL2运行程序报Illegal instruction » 2019-06-19 17:07:43

应该是免配置的, 因为搜到的 ubuntu sdl2 ffplay 只要安装 sdl2 & directfb 包就可以跑。

或者你在这个地方跟踪进去, 看是什么原因导致错误:

directfb not available

#51 Re: 全志 SOC » 荔枝派Zero V3s开发板入坑记录 (TF/SD卡启动)(主线Linux,主线u-boot) » 2019-06-19 15:46:49

/etc/init exists but couldn't execute it (error -13)

/etc/init 存在, 但是不能执行, 看文件是不是没有执行属性, 或者依赖的库不存在,还是别的问题?

#52 Re: 8051/STC8/AT89C51/N76E003 » N76E003 KEIL/IAR 软件包更新, ICP 烧录软件更新 » 2019-06-19 14:49:43

用了一上午, 基于这个 demo: N76E003-BSP\Sample_Code\IAP_LD-Program-AP

把 APROM 编程和读取搞定了,

LDROM 做一个串口通讯程序:

1. 把上位机文件的数据编程到 APROM
2. 把 APROM 的数据读到上位机文件

#53 Re: 8051/STC8/AT89C51/N76E003 » N76E003 KEIL/IAR 软件包更新, ICP 烧录软件更新 » 2019-06-19 09:37:07

QQ20190619093554.png

请教楼主, 我用了你推荐这个 ICP 3.0 软件, 我能从 LDROM / APROM 读到数据,

但是没有办法保存成文件,找了很久也没有找到对应的菜单。

#54 Re: 全志 SOC » S3启动的问题,没法找到sd卡 » 2019-06-19 09:31:26

先用晕哥的USB 启动固件: https://whycan.cn/t_2449.html

看能否把系统 boot 起来。

#55 Re: Nuvoton N32905/N32926/NUC972/N9H20/N9H26/N9H30 » 最近公司立案开发新唐 N9H30, 开帖记录全过程 » 2019-06-19 09:07:51

QQ20190619090225.jpg

折腾了两天, 这个 N9H30K41I 怎么样也没跑起 Linux.

打开手册一看:

http://www.nuvoton.com/resource-files/HMI-N9H30_User_Manual_EN_Rev1.0.pdf


INTRODUCTION TO NUDESIGN-HMI-N9H30 BOARD
The NuDesign-HMI-N9H30 solution uses an outstanding CPU core ARM926EJ-S, N9H30K41I
which runs up to 300 MHz and features the embedded 16MB DDR memory, with 16 KB I-cache,
16 KB D-cache and MMU, 56 KB embedded SRAM and 16 KB IBR (Internal Boot ROM) for
booting from SPI Flash or booting from NAND Flash.
The NuDesign-HMI-N9H30 solution integrates touchscreen display, voice input/output, rich serial
port service and I/O interface, providing multiple external storage methods. It contains two kinds
of board, including the NuDesign-HMI-N9H30 board and NuDesign-TFT-LCD5 board.

这坑货才 16M DDR, 赶紧联系供应商换板子。

#56 Re: Nuvoton N32905/N32926/NUC972/N9H20/N9H26/N9H30 » 最近公司立案开发新唐 N9H30, 开帖记录全过程 » 2019-06-19 09:05:17

@超级萌新 N9H 和 NUC972 共用了 SDK, 估计外设大同小异,但是有朋友说 972 跑不了 N9H 带的 emwin, 说明还是有小小的差异。

@firstman 谢谢提醒, 晚点试一试用久禁止签名.

#58 Re: Nuvoton N32905/N32926/NUC972/N9H20/N9H26/N9H30 » 最近公司立案开发新唐 N9H30, 开帖记录全过程 » 2019-06-17 22:35:39

QQ20190617210532.png

QQ20190617210600.png


参考 @晕哥这个帖子:  https://whycan.cn/t_2469.html

终于把烧录的驱动给装上了

根据百度经验这个帖子: https://jingyan.baidu.com/article/624e74594dbc8d34e8ba5aa6.html

禁用 win10 驱动签名, 终于搞定, 请问驱动签名到底是什么鬼?

页脚

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

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