页次: 1
费了老大劲儿,再来一个视频:
用螺丝刀,食指,看来都不够粗啊,https://whycan.cn/files/members/1398/a0dc44289565aa8de1f616041b9f64db.mp4
Wow, 你怎么修好它的 ? 我遇到了类似的问题,我的蓝色和红色互换了
非常感谢您提供宝贵的信息,
但这对我的情况不起作用。
&spi1 {
pinctrl-names = "default";
pinctrl-0 = <&spi1_pins_a &spi1_pins_cs>;
status = "okay";
num_chipselect = <4>;
cs_gpios = <&pio 3 2 GPIO_ACTIVE_LOW>, /*PD2 main lcd*/
<&pio 3 14 GPIO_ACTIVE_LOW>, /*PD14 SR Latch*/
<&pio 3 21 GPIO_ACTIVE_LOW>, /*PD21 rtc*/
<0>; /*lcd2*/
gpio1: gpio@0x01 {
compatible = "fairchild,74hc595";
reg = <1>;
gpio-controller;
#gpio-cells = <2>;
registers-number = <1>;
spi-max-frequency = <1000000>;
};
};
spi1_pins_a: spi1-pins-pc {
pins = "PA0", "PA1", "PA2", "A3";
function = "spi1";
};
spi1_pins_cs: spi1_pins_cs {
pins = "PD2", "D14", "PD21";
function = "gpio_out";
};
CS信号仍在默认端口PA0上
我检查了驱动程序代码,未找到此行devm_gpio_request
Hello All,
我尝试如下设置设备树,但CS信号仅在默认硬件引脚上
&spi1 {
pinctrl-names = "default";
pinctrl-0 = <&spi1_pins_a>;
status = "okay";
num_chipselect = <2>;
cs_gpios = <&pio 3 2 GPIO_ACTIVE_LOW>,
<&pio 3 14 GPIO_ACTIVE_LOW>,
gpio1: gpio@0x00 {
compatible = "fairchild,74hc595";
reg = <0>;
gpio-controller;
#gpio-cells = <2>;
registers-number = <2>;
spi-max-frequency = <1000000>;
};
gpio2: gpio@0x01 {
compatible = "ti,sn65hvs882", "pisosr-gpio";
gpio-controller;
#gpio-cells = <1>;
reg = <1>;
spi-max-frequency = <1000000>;
};
};
我注意到spi设备驱动程序未从设备树中读取任何现成的解决方案来支持多个CS?
xboot 有 i80 的驱动代码:
https://github.com/xboot/xboot/blob/master/src/arch/arm32/mach-f1c500s/driver/fb-f1c500s.cstatic inline void fb_f1c500s_init(struct fb_f1c500s_pdata_t * pdat) { fb_f1c500s_cfg_gpios(F1C500S_GPIOD1, 8, 0x1, GPIO_PULL_NONE, GPIO_DRV_STRONG); fb_f1c500s_cfg_gpios(F1C500S_GPIOD10, 12, 0x1, GPIO_PULL_NONE, GPIO_DRV_STRONG); r61520_init(pdat); fb_f1c500s_cfg_gpios(F1C500S_GPIOD1, 8, 0x2, GPIO_PULL_NONE, GPIO_DRV_STRONG); fb_f1c500s_cfg_gpios(F1C500S_GPIOD10, 12, 0x2, GPIO_PULL_NONE, GPIO_DRV_STRONG); f1c500s_tcon_disable(pdat); f1c500s_debe_set_mode(pdat); f1c500s_tcon_set_mode(pdat); f1c500s_tcon_enable(pdat); }
is it easy to port to linux?
I have to use i80 with f1c100s.
what would be right step to bring i80 to linux any suggestion ?
Where can buy this board ?
在哪里可以买到这个板子?
建议用MDK吧: https://whycan.cn/t_1527.html
Thankyour very much,
This is exactly what I need.
非常感谢你,
这正是我所需要的。
Hi everyone ,
I design a new PCB with reference of lichee Pi Schematic, but I removed SPI Flash as I don't need to boot from SPI Flash.
After soldering board I can't see signal on SDClock, But can see on SPI Flash Clock.
Unfortunately I also not reserve usb connector, as my idea was to flash sdcard pc side and boot the board.
Crystal is oscillating.
So with default boot form F1C100s it will not attempt to boot from SD ?
Any suggestion how to move forward ?
If no option, possibly I need to make new pcb with USB & SPI Flash.
嗨,大家好,
我参考lichee Pi Schematic设计了一个新的PCB,但由于不需要从SPI Flash引导,因此删除了SPI Flash。
焊完板后,我在SDClock上看不到信号,但在SPI闪存时钟上却看到了。
不幸的是,我也不保留USB连接器,因为我的想法是在sdcard pc侧进行闪存并启动开发板。
晶体振荡。
因此,使用默认引导形式F1C100s,它将不会尝试从SD引导吗?
任何建议如何前进?
如果没有选择,可能我需要使用USB和SPI Flash制作新的PCB
Thanks & Regards
PV
EWARM-CD-8201-14188.exe: https://pan.baidu.com/s/1jI7Kb8E?fid=984632783629706
EWARM-CD-7401-8472.exe: http://netstorage.iar.com/SuppDB/Protected/PRODUPD/009952/EWARM-CD-7401-8472.exe
Thank you very much for the link.
But EWARM-CD-8201-14188.exe is still broken.
Will I need this crack file IAR7.x破解文件.rar ?
Actually I design a new F1C100S Hardware & I have to debug it.
For now I can get SPI Flash Clock pin signal but no rs232 message and no signale on SDClock.
I have not designed pad for SPI Flash as I want to use SD Card, So need to debug board.
非常感谢您提供的链接。
但是EWARM-CD-8201-14188.exe仍然损坏。
我需要这个破解文件IAR7.x crack file.rar吗?
实际上,我设计了一种新的F1C100S硬件,并且必须对其进行调试。
现在,我可以获得SPI Flash Clock引脚信号,但没有rs232消息,并且在SDClock上没有信号。
我还没有为SPI Flash设计焊盘,因为我想使用SD卡,因此需要调试电路板。
下载EWARM-CD-8201-14188.exe
再到csdn下载了 IAR7.x破解文件.rar 破解工具,
根据 IAR for ARM介绍、下载、安装与注册终于把IAR破解了。IAR 7.4下载链接:EWARM-CD-7401-8472.exe
Thanks for link, But it looks it's broken.
Can you please provide valid link.
感谢您的链接,但它似乎坏了。
您能提供有效的链接吗?
One more question I am not able to create a new post.
when I click on Topics: New then it search for post with new, So how to create a new post ?
页次: 1