stm32 cdc
ToMaS
tomas.hum na worldonline.cz
Úterý Prosinec 10 19:17:01 CET 2019
Moc a moc diky, je to neuveritelne, ze si zrovna vyberu "ten" s chybou ...
Toto opravdu pomohlo:
Yes. For me the reason was a forgotten ISR definition in the
Startup/startup_stm32l412kbux.s file. It should contain:
.word 0
.word COMP_IRQHandler
.word LPTIM1_IRQHandler
.word LPTIM2_IRQHandler
.word USB_IRQHandler
.word DMA2_Channel6_IRQHandler
.word DMA2_Channel7_IRQHandler
Dne 10. 12. 2019 v 17:39 Jan Waclawek napsal(a):
> Nemenovany clen ma nakopol, toto je znama chyba v Cube, specificky pre
> STM32L412 a specificky pre gcc chyba vektor v tabulke vektorov v startup
> kode.
>
> https://community.st.com/s/question/0D50X0000Az372YSQQ/stm32l412-hardfault-while-using-minimal-cubeide-example
>
> wek
>
>
> ----- Original Message ---------------
>
> Subject: stm32 cdc
> From: ToMaS <tomas.hum na worldonline.cz>
> Date: Tue, 10 Dec 2019 16:59:31 +0100
> To: HW-news <hw-list na list.hw.cz>
>
>> Resim problem s STM32 VCP, at delam co delam tak to nic nedela.
>>
>> Postupuji podle tohoto:
>> http://shawnhymel.com/1795/getting-started-with-stm32-nucleo-usb-virtual-com-port/
>>
>> Ale behem MX_USB_DEVICE_Init(); mi to skoci do void
>> HardFault_Handler(void) a koncim.
>>
>> Jsem zacatecnik, je nejaka rada proc se tak deje? Respektive jak zjistit
>> proc se tak deje.
>>
>> Diky za nasmerovani
>>
>> ToMaS
>>
>> P.S. Mam STM32L412, ale to asi neni problem.
>> _______________________________________________
>> HW-list mailing list - sponsored by www.HW.cz
>> Hw-list na list.hw.cz
>> http://list.hw.cz/mailman/listinfo/hw-list
>
> _______________________________________________
> HW-list mailing list - sponsored by www.HW.cz
> Hw-list na list.hw.cz
> http://list.hw.cz/mailman/listinfo/hw-list
>
Další informace o konferenci Hw-list