your original code file usb.c line 682: usbPrepareReceive (usbp, 0, usbp-> ep0next, usbp-> ep0n);
use usbp-> ep0next pointer and usbp-> ep0n.
1) How you initialized pointer ep0next and size ep0n ( original inside Chibios in this part)?
2) There is a custom callback at the end of the actual data ...
Search found 9 matches
- Wed Apr 15, 2015 4:03 am
- Forum: General Support
- Topic: usb.c ep0 buffer manipulation
- Replies: 3
- Views: 3033
- Tue Apr 14, 2015 10:43 am
- Forum: General Support
- Topic: usb.c ep0 buffer manipulation
- Replies: 3
- Views: 3033
usb.c ep0 buffer manipulation
Hello.
I do not understand how initialized pointer ep0next and size ep0n the exchange via USB.
file usb.c line 682: usbPrepareReceive (usbp, 0, usbp-> ep0next, usbp-> ep0n);
Needs to receive data in a custom application HID.
user-defined function bool_t hidRequestsHook (USBDriver * usbp);
data from ...
I do not understand how initialized pointer ep0next and size ep0n the exchange via USB.
file usb.c line 682: usbPrepareReceive (usbp, 0, usbp-> ep0next, usbp-> ep0n);
Needs to receive data in a custom application HID.
user-defined function bool_t hidRequestsHook (USBDriver * usbp);
data from ...
- Sun Mar 31, 2013 11:42 am
- Forum: General Support
- Topic: IAP over Ethernet
- Replies: 5
- Views: 5069
Re: IAP over Ethernet
Use ST IAP: (Chibios 2.4.3)
1) modify the linker script (copy) STM32F207xC.ld
"flash: org = 0x08000000, len = 256k" changed to "flash: org = 0x08010000, len = 192k"
2) modify Makefile
"UDEFS =" changed to "UDEFS =-DCORTEX_VTOR_INIT = 0x08010000"
1) modify the linker script (copy) STM32F207xC.ld
"flash: org = 0x08000000, len = 256k" changed to "flash: org = 0x08010000, len = 192k"
2) modify Makefile
"UDEFS =" changed to "UDEFS =-DCORTEX_VTOR_INIT = 0x08010000"
- Sat Mar 30, 2013 3:51 am
- Forum: General Support
- Topic: Confused about licence
- Replies: 4
- Views: 4969
Re: Confused about licence
Hello
I have a small commercial project using ChibiOS and ChibiOS-GFX.
I use GPL3 with Exception license ChibiOS. I do not want to open my code.
In describing the "Do I have to document that my product uses ChibiOS / RT?" what should I do?
Can I use the logos and names of reports that the inside is ...
I have a small commercial project using ChibiOS and ChibiOS-GFX.
I use GPL3 with Exception license ChibiOS. I do not want to open my code.
In describing the "Do I have to document that my product uses ChibiOS / RT?" what should I do?
Can I use the logos and names of reports that the inside is ...
- Thu Nov 08, 2012 11:35 am
- Forum: General Support
- Topic: STM32F207 workaround using ETH RMII + KSZ8031
- Replies: 3
- Views: 5503
STM32F207 workaround using ETH RMII + KSZ8031
Hello I use STM32f207VCT6 + KSZ8031 + ChibiOS 2.4.2.
I found a problem when using the MAC.
My schema:
STM MCO1 out 25MHz -> PHY XI input
PHY XI multiplied x2 REF_CLK out 50MHz -> STM ETH_RMII_REF_CLK input
If PHY in POWER_DOWN mode -> REF_CLK out 0MHz
The file ChibiOS_2.4.2/os/hal/platforms/STM32 ...
I found a problem when using the MAC.
My schema:
STM MCO1 out 25MHz -> PHY XI input
PHY XI multiplied x2 REF_CLK out 50MHz -> STM ETH_RMII_REF_CLK input
If PHY in POWER_DOWN mode -> REF_CLK out 0MHz
The file ChibiOS_2.4.2/os/hal/platforms/STM32 ...
- Sun Apr 15, 2012 8:33 am
- Forum: User Projects
- Topic: Freescale D4D eGUI запуÑк на вÑех ARM Cortex-M3, M4
- Replies: 4
- Views: 19582
Re: Freescale D4D eGUI запуÑк на вÑех ARM Cortex-M3, M4
ok I think for non-commercial project that does not matter.
In my product, I use RS08KA2 microcontroller, but running on eGUI stm32. RS08KA2 generates a signal for work eGUI. The license code must be unspeakably that run in the microcontroller freescale. This is acceptable?
P.S. I'm not sure I ...
In my product, I use RS08KA2 microcontroller, but running on eGUI stm32. RS08KA2 generates a signal for work eGUI. The license code must be unspeakably that run in the microcontroller freescale. This is acceptable?
P.S. I'm not sure I ...
- Sun Apr 15, 2012 7:40 am
- Forum: User Projects
- Topic: Freescale D4D eGUI запуÑк на вÑех ARM Cortex-M3, M4
- Replies: 4
- Views: 19582
Re: Freescale D4D eGUI запуÑк на вÑех ARM Cortex-M3, M4
License information is missing. Provided "as is". Information from Freescale_embedded_GUI_SW.zip
This is similar to videos.
This is similar to videos.
- Sun Apr 15, 2012 4:42 am
- Forum: User Projects
- Topic: Freescale D4D eGUI запуÑк на вÑех ARM Cortex-M3, M4
- Replies: 4
- Views: 19582
Freescale D4D eGUI запуÑк на вÑех ARM Cortex-M3, M4
ЗдравÑтвуйте, уÑпешно Ñобрал и запуÑтил Freescale D4D eGUI Ð´Ð»Ñ STM32F107 плата GoldBull, контроллер диÑÐ¿Ð»ÐµÑ ili9320 3,2", тачÑкрина tsc2046 компилÑтор Sourcery CodeBench Lite 2011.09-69 for ARM EABI RTOS ChibiOS 2.4.0 ...
- Sun Apr 08, 2012 7:15 am
- Forum: General Support
- Topic: I2C Problem with STM32F4DISCOVERY in v2.4.0
- Replies: 18
- Views: 13076
Re: I2C Problem with STM32F4DISCOVERY in v2.4.0
I confirm this problem exists.
BOARD: Gold Bull
MCU: STM32F107VCT6
EEPROM: 24LC02B (microchip)
CHIBIOS: 2.4.0
Sample my code:
/*
* Init I2CD1
*/
i2cInit();
i2cStart(&I2CD1, &i2cfg1);
/* startups. Pauses added just to be safe */
chThdSleepMilliseconds(100);
/*
* Read 24LC02B EEPROM ...
BOARD: Gold Bull
MCU: STM32F107VCT6
EEPROM: 24LC02B (microchip)
CHIBIOS: 2.4.0
Sample my code:
/*
* Init I2CD1
*/
i2cInit();
i2cStart(&I2CD1, &i2cfg1);
/* startups. Pauses added just to be safe */
chThdSleepMilliseconds(100);
/*
* Read 24LC02B EEPROM ...