bbogush/nand_programmer

Question about building firmware

Closed this issue · 1 comments

I tried to build firmware in two different ways:

  1. I made project in IAR
  2. I compiled firmware from existing sources in Debian by GCC compiler.

I flashed result and in both ways I received following error in UART terminal: ERROR: "Wrong buffer length for hal configuration command 37" and "Error: "Programmer sent error: (112) Wrong data length" in NANDO Qt application window.

I investigated a little.
That message is generated in nand_init function from fsmc_nand.c file, which called from np_cmd_nand_conf function nand_programmer.c file.

Cold you please help me find right direction to solve the issue?
My goal is to understand what's going on in such a big project)

When I flash precompiled firmware from google disk (nando_fw_v3_5_0.hex for example) then all OK.

After installing host application v3.5.0 things became seems to be OK.