nminaylov / f1c100s_projects Goto Github PK
View Code? Open in Web Editor NEWLow-level libraries and bare metal projects for allwinner F1C100s SOC
License: GNU General Public License v3.0
Low-level libraries and bare metal projects for allwinner F1C100s SOC
License: GNU General Public License v3.0
hello dear sir
i made a project with this awesome repasitory of yours.
everything is working perofect but the important toch screen have error.
touch_init_lvgl(); not defined !
can you please help me with this.
thanks alot sir.
Hi there,
Sorry again today i was struggling with gpio interrupt which does not seems to be working at the moment. I am not sure if i am doing something wrong or may be its not done yet. I saw comment in gpio driver TODO_EINT.
Let me know if you tested it before, i was trying it as follows :
eint_pin_init(GPIOE_INT,8,EINT_TRG_RISING);
eint_pin_enable(GPIOE_INT,8);
intc_set_irq_handler(IRQ_GPIOE, gpio_porte_irq_handler);
intc_enable_irq(IRQ_GPIOE);
But it never reaches ISR function.
void gpio_porte_irq_handler(void)
{
uint8_t s = eint_pin_get_status(GPIOE_INT,8);
printf("in gpio_porte_irq_handler...staus=%d\n",s);
eint_pin_clear_status(GPIOE_INT,8);
}
Thanks, Rishi
There is no I2C library or implementation. can you help me how I can activate it ?
hi nikolay!!
thanks for this code.
i try run freertos but not work.
i define irq_handler_global() as weak in intc.c file and use this code :
https://www.mediafire.com/file/nccsuu4960czz3c/ARM926EJ-S.rar/file
task 1 is run
task 2 is run. but not switch to task 1!!!!
can you giude me?
Thank's.
Hi there,
I am trying to jump to FEL mode from my code which is not working, i am wondering if you can help in this.
Basically what i am trying to do is in your Simple bootloader sample lets says if valid application is not found then i want to jump to FEL mode. I am trying by jumping to 0xffff0020 address.
I tried :
asm volatile("ldr r0, =0xffff0020");
asm volatile("mov pc,r0");
Seems like it jumps i can see on my dmesg :
[57460.002932] usb 1-11.3.2: new full-speed USB device number 63 using xhci_hcd
[57475.418870] usb 1-11.3.2: device descriptor read/64, error -110
[57491.034767] usb 1-11.3.2: device descriptor read/64, error -110
But eventually it fails to setup the usb device.
May be SP also needs to be adjusted, i do not have much deeper understanding in assembly.
Is there any other way where we can programatically jump to FEL mode.
Please let me know once you have some time.
Thanks, Rishi
** I am sorry i accidentally posted it as comment on my last gpio interrupt issue which is closed now.**
New version xpack-arm-none-eabi-gcc-11.3.1-1.1 needs an edit in f1c100s_sram.ld file like below
SECTIONS
{
.text :
{
PROVIDE(__image_start = .);
PROVIDE(__text_start = .);
build/start.o (.text)
(.text)
*(.init.text)
*(.exit.text)
(.glue)
*(.note.gnu.build-id)
PROVIDE(__text_end = .);
} > sram
Hi there ,
I am trying to use F1C100s simpleloader app.
Everything links perfect then i fix eGON.BT0 header and finally writes it at spi flash address 0. When i re-boot F1C100 seems like it never enters main function or can not finish sys_clk_init() as i don't see any output on uart0.
I was wondering if you can give any ideas....
Thanks,Rishi
void gpioe_irq_handler(void)
{
printf(",");
uint8_t a = eint_pin_get_status(GPIOE, 11);
printf("status = %d , %d\r\n",a);
}
int main(void)
{
.............................................................
gpio_pin_init(GPIOE, 11, GPIO_MODE_AF5, GPIO_PULL_NONE, GPIO_DRV_3);
eint_pin_init(GPIOE, 11, EINT_TRG_RISING);
eint_pin_enable(GPIOE,11);
f1c100s_intc_set_isr(F1C100S_IRQ_GPIOE, gpioe_irq_handler,0);
f1c100s_intc_set_priority(F1C100S_IRQ_GPIOE,1);
f1c100s_intc_enable_irq(F1C100S_IRQ_GPIOE);
.............................................
}
why this code not woking, interrupt not trigered. anybody help me please
I'm trying to build a USB HOST, but it's too complicated
Can you writer that driver for F1c100s?
Hi
i`m trying to use tv out first
but when i run the code , i have a blank page
when checked the signal with oscilloscope , the base signal generated but haven't any picture data
in this video a wire is connected to the PA3. its connected to where? its important ?!
Hi there,
I wanted to add flow control support to my uart port. Current driver disables the flow control by default.
I want to use RTS/CTS flow control, to achieve this, i just have to set MCR[5] =ON (AFCE bit) or is it more than this.
And sorry for asking this question now as i haven' tried anything yet, but i thought may be you can throw some more light on how and what needs to be done to achieve this.
Thanks, Rishi
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.