Dear Nuttx,

I did a bit more debugging in NuttX-10.0.1 on STM32F4Discovery.

I add a below line in stm32_bringup.c to make sure that syslog function
with argument.

syslog(LOG_INFO, "INFO: stm32_mfrc522initialize() : %d \n", 10);

Error is as follow.

NuttShell (NSH) NuttX-10.0.1
nsh> ABCDF
INFO: stm32_mfrc522initialize() : arm_hardfault: PANIC!!! Hard fault: ABCDF

I believe I need to set some settings in menuconfig. Please guide me how to
solve the syslog issue.

syslog is important to do the debugging.

Thanks.

Regards,
Thiha Kyaw




On Sat, Jan 2, 2021 at 11:52 PM Thiha Kyaw <thiha....@gmail.com> wrote:

> Dear Alan,
>
> I use NuttShell (NSH) NuttX-10.0.0.
>
> Board is STM32F4Discovery (STM32F407G-DISC1).
>
> Regards,
> Thiha Kyaw
>
> On Sat, Jan 2, 2021 at 11:15 PM Alan Carvalho de Assis <acas...@gmail.com>
> wrote:
>
>> Hi Thiha,
>>
>> Thank you for reporting this issue.
>>
>> Could you please supply more information?
>>
>> What NuttX version are you using? Is it from mainline? If so, did you
>> get this same issue using NuttX 10.0 or 9.1 ?
>>
>> BR,
>>
>> Alan
>>
>> On 1/2/21, Thiha Kyaw <thiha....@gmail.com> wrote:
>> > Dear Nuttx,
>> >
>> > I am facing the problem in sensor debugging.
>> >
>> > Simple debug print using sninfo is working well.
>> >
>> > But sninfo with argument throws *arm_hardfault: PANIC!!!*
>> >
>> > For example,
>> > sninfo("ADXL372_FIFO_CTL = 0x%02x\n", reg_content);
>> >
>> > Is there any missing configuration?
>> >
>> > [image: image.png]
>> >
>> > Please guide me.
>> >
>> > Thanks.
>> > --
>> > Yours Sincerely,
>> > Thiha Kyaw
>> >
>>
>
>
> --
> Yours Sincerely,
> Thiha Kyaw
>


-- 
Yours Sincerely,
Thiha Kyaw

Reply via email to