Search found 10 matches

by shilow
Thu Dec 29, 2022 9:17 pm
Forum: General Support
Topic: how to handle operating system exceptions?
Replies: 5
Views: 8500

Re: how to handle operating system exceptions?

Correct, you need to examine the string pointed by the chSysHalt() parameter. It is possible to "hook" the function and print the string somewhere but the debugger is usually the easiest and safest way (after a crash your "print" function could fail as well).


how to force chSysHalt() to output ...
by shilow
Thu Dec 29, 2022 8:47 pm
Forum: General Support
Topic: how to handle operating system exceptions?
Replies: 5
Views: 8500

Re: how to handle operating system exceptions?

Giovanni wrote:Hi,
Try this article: http://www.chibios.org/dokuwiki/doku.ph ... ebug_guide


Do I understand correctly that it is possible to determine the cause of SysHalt only using the hardware debugger?
by shilow
Thu Dec 29, 2022 7:59 pm
Forum: General Support
Topic: how to handle operating system exceptions?
Replies: 5
Views: 8500

how to handle operating system exceptions?

Hi.

what i mean:
- I use i2cMasterTransmitTimeout() - if communication with the device is lost, the system "freezes" (m, line 83),
- if there is not enough stack size for the thread - the system "freezes",
- trying to send an event - for some reason the system "freezes" (m, line 172).

how to ...
by shilow
Fri Apr 04, 2014 11:28 am
Forum: User Projects
Topic: Board HY-STM32F103VE
Replies: 2
Views: 6138

Board HY-STM32F103VE

Hi!

This is small simple demo and board files for HY-STM32 development board.
HY-STM32.7z

Description:

⋅ CPU: STM32F103VET6(ARM Cortex-M3), LQFP100; FLASH: 512K Bytes, SRAM: 64K Bytes
⋅ 1 x JTAG debug interface
⋅ 4 X Status LED, ONE Power LED
⋅ 1 X ...
by shilow
Fri Feb 07, 2014 6:07 pm
Forum: STM32 Support
Topic: HD44780 not initialized
Replies: 7
Views: 8035

Re: HD44780 not initialized

The author of used library:
"ZiB" <[email protected]>
http://ziblog.ru/

updated sources
stm32vld-ChibiOS.7z
working examples
(10.49 KiB) Downloaded 738 times
by shilow
Sun Dec 22, 2013 6:33 pm
Forum: User Projects
Topic: PCD8544 and STM32VLDiscovery
Replies: 1
Views: 3329

PCD8544 and STM32VLDiscovery

I needed to connect the LCD of nokia 3310 without uGFX.

On the Internet I found a project for Cocoox and adapted it for chibios.

In archive -- working sample project for stm32vldiscovery with PCD8544 driver.
stm32vld-ChibiOS-n3310.7z
(14.43 KiB) Downloaded 725 times
by shilow
Fri Dec 20, 2013 8:34 pm
Forum: STM32 Support
Topic: HD44780 not initialized
Replies: 7
Views: 8035

Re: HD44780 not initialized

tronicgr wrote:Thank you for your working example!
Can I use 3.3v character LCD like this one for this example?


yes, of course.

if there is the datasheet for your display - verify the initialization procedure, it may be slightly different.
by shilow
Fri Dec 20, 2013 6:45 am
Forum: STM32 Support
Topic: HD44780 not initialized
Replies: 7
Views: 8035

Re: HD44780 not initialized

I figured out what the problem was.
In my case did not work function palClearPort() and palSetPort().
I replaced them on palSetPad()/palClearPad() for single bit, and pal_lld_setport()/pal_lld_clearport() for groups of bits.

working example in the attachment.
stm32vld-ChibiOS.7z
working hd44780 example
(10.41 KiB) Downloaded 771 times
by shilow
Wed Dec 18, 2013 10:54 am
Forum: STM32 Support
Topic: HD44780 not initialized
Replies: 7
Views: 8035

Re: HD44780 not initialized

Hi All!

Maybe someone can share a working example without using µGFX?

Thanks.
by shilow
Mon Dec 16, 2013 9:32 am
Forum: STM32 Support
Topic: HD44780 not initialized
Replies: 7
Views: 8035

HD44780 not initialized

Hi!

I am a beginner in ChibiOS/RT.
first I tried to use by the LCD screen stm32vldistsovery.

I took a working sample project and moved him out of his driver in a test project for stm32vldistsovery.

and here I was unlucky - this code does not work, LСD is not initialized.
maybe I made a mistake ...