您尚未登录。

#1 Re: 全志 SOC » 裸机boot启动使用SPI DMA读取app数据,3MB用时0.5s » 2023-07-14 01:06:12

int sys_spi_flash_read(int addr, void * buf, int count)
{
    int r;
    uint8_t tx[5];//one more byte required

    tx[0] = 0x0b;
    tx[1] = (uint8_t)(addr >> 16);
    tx[2] = (uint8_t)(addr >> 8);
    tx[3] = (uint8_t)(addr >> 0);
        tx[4] =  0;//Dummy byte for fast read command
    sys_spi_select();
    r = sys_spi_write_then_read(tx, 5, buf, count);//one more byte send
    sys_spi_deselect();

    return r;
}

#2 Re: 全志 SOC » 裸机boot启动使用SPI DMA读取app数据,3MB用时0.5s » 2023-07-12 23:23:34

if you want use clock >33MHz, you need use command 0x0B instead of command 0x03(or command 0x3B if controller suport dual read).

#4 Re: 全志 SOC » V3S现在升级成V3LP了吗? » 2023-03-09 23:16:14

Any one have source for V3LP  SDRAM init?

#5 Re: 全志 SOC » V3S串口921600波特率使用 » 2023-02-24 22:13:22

for 921600 baud 15MHz clock is enough....

#7 Re: 全志 SOC » 全志R11核心板和底板(主要跑RTT和柿饼UI) » 2019-12-03 00:59:07

Can anyone update any info about R11 based board RTT support(I don't found any info about R11 based board on https://www.rt-thread.org/index.html  ).
Will have open source BSP or it is proprietary closed project? 
CSI/MIPI camera support?
USB support?

Thanks you.

#8 Re: 全志 SOC » visual 如何把RTT的交叉编译加载进去 » 2019-11-03 20:06:34

I'm use Rt-Thread fork for V3s(on Lichee Pi Zero board)
https://github.com/liu2guang/bsp_v3s
this is have windows program for upload compiled code to V3s RAM(and SPI Flash by change command line), have binary spl (I think from UBOOT) for SDRAM/PLL init.

If you are  need JLink use - you can use Ozone program form Segger and upload elf file and execute it(with breakpoints, but not profiling).
https://www.segger.com/products/development-tools/ozone-j-link-debugger/
Please dont forget switch some pin back to JTAG mode in demo program , before using Jlink.

for compile under windows you are need

scons-local_3_1_1
Phyton_2_7  python-2.7.16.amd64.msi
6_0_2017-q2-update (arm-none-eabi)  gcc-arm-none-eabi-6-2017-q2-update-win32.zip
(or 5_4_2016-q3-update) gcc-arm-none-eabi-5_4-2016q3-20160926-win32.zip
MinGW or CygWin.
Small file for Segger Ozone with some pheripherial description in attachment(as example for extend it).

页脚

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

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