Hi Jon,
In good news, the firmware upgrade was successful! (1.7.3 to 1.15.1)
I have these versions right now:
** ABP 7.76.01 (2020-10-19) **
** ABCC Driver 5.07.01 (2020-10-12) **
ANB_FSI_WRITE_MAX_DATA_LEN is 255
ABCC_CFG_SPI_MSG_FRAG_LEN is 16
Once I increased ABCC_CFG_SPI_MSG_FRAG_LEN to 32 the speed was much faster!
Not sure why if I increase the ‘chunk size’ from 128 to 255 I still get the resource error.
I increased ABCC_CFG_MAX_NUM_CMD_SEQ from 2 to 10, but still get the following severe error: (at the end)
Mem: Buffer allocated: 0x80036f1c
CmdSeq(9d07bfe4)->FileWriteCmd()
Command queued: MsgBuf:0x80036f1c SrcId:0x1f
CmdQ status: 2(2)
Outstanding commands: 1
Msg sent:
[ MsgBuf:0x80037b24 Size:0x00ff SrcId :0x1d DestObj:0x0a
Inst :0x0001 Cmd :0x56 CmdExt0:0x00 CmdExt1:0x00 ]
[ 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00
0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00
0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00
0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00
0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00
0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00
0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00
0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00
0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00
0x20 0xa9 0x3d 0x00 0x20 0x08 0xb5 0x00 0x20 0x02 0xf0 0x8a 0xfa 0x1e 0xf0 0x04
0x0f 0x0c 0xbf 0xef 0xf3 0x08 0x80 0xef 0xf3 0x09 0x80 0x01 0x49 0x08 0x47 0x00
0x00 0x89 0x3d 0x00 0x20 0x08 0xb5 0x01 0x20 0x02 0xf0 0x7a 0xfa 0x0b 0x4b 0x4f
0xf4 0x00 0x52 0x10 0xb5 0x1a 0x60 0x00 0x24 0x09 0x480x42 0x60x00
0xbf 0x80x20 0x3Mem: BufCommand dequeued: MsgBuf:0x80037520 SrcId:0x1e
CmdQ status: 1(2)
Mem: Buffer allocated: 0x80037b24
Outstanding commands: 0
Msg received:
[ MsgBuf:0x80037b24 Size:0x0000 SrcId :0x1d DestObj:0x0a
Inst :0x0001 Cmd :0x16 CmdExt0:0xff CmdExt1:0x00 ]
[ ]
Routing response to registered response handler: MsgBuf:0x80037b24 SrcId:0x1d
CmdSeq(9d07bfe4)->FileWriteRsp()
Mem: Buffer returned: 0x80037b24
CmdSeq(9d07bfe4)->Done
ANYBUS: Write complete
ANYBUS: Write 256 bytes, 1024 so far
Mem: Buffer allocated: 0x80037b24
CmdSeq(9d07bfe4)->FileWriteCmd()
Command queued: MsgBuf:0x80037b24 SrcId:0x20
CmdQ status: 2(2)
Outstanding commands: 1
Msg sent:
[ MsgBuf:0x80037520 Size:0x00ff SrcId :0x1e DestObj:0x0a
Inst :0x0001 Cmd :0x56 CmdExt0:0x00 CmdExt1:0x00 ]
[ 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00
0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00
0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00
0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00
0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00
0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00
0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00
0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00
0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00 0x20 0xa9 0x3d 0x00
0x20 0xa9 0x3d 0x00 0x20 0x08 0xb5 0x00 0x20 0x02 0xf0 0x8a 0xfa 0x1e 0xf0 0x04
0x0f 0x0c 0xbf 0xef 0xf3 0x08 0x80 0xef 0xf3 0x09 0x80 0x01 0x49 0x08 0x47 0x00
0x00 0x89 0x3d 0x00 0x20 0x08 0xb5 0x01 0x20 0x02 0xf0 0x7a 0xfa 0x0b 0x4b 0x4f
0xf4 0x00 0x52 0x10 0xb5 0x1a 0x60 0x00 0x24 0x09 0x480xb1 0x40x00
0xbf 0x80xe0 0x70x23 0x5Command dequeued: MsgBuf:0x80036f1c SrcId:0x1f
CmdQ status: 1(2)
Mem: Buffer allocated: 0x80037520
Outstanding commands: 0
Msg received:
[ MsgBuf:0x80037520 Size:0x0000 SrcId :0x1e DestObj:0x0a
Inst :0x0001 Cmd :0x16 CmdExt0:0xff CmdExt1:0x00 ]
[ ]
Routing response to registered response handler: MsgBuf:0x80037520 SrcId:0x1e
CmdSeq(9d07bfe4)->FileWriteRsp()
CmdSeq(9d07bfe4)->Executing same sequence step again
CmdSeq(9d07bfe4)->FileWriteCmd()
Command queued: MsgBuf:0x80037520 SrcId:0x21
CmdQ status: 2(2)
Outstanding commands: 1
Mem: Buffer allocated: 0x80036918
CmdSeq(9d07bfe4)->FileWriteCmd()
Severity : ABCC_SEV_WARNING
Error code: ABCC_EC_NO_RESOURCES (ErrNo: 25)
Add info : 0 (0x0)
File : …/src/AnyBus/abcc_drv/src/abcc_handler.c (Line:843)
Thanks,
-ed