This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SYSCONFIG: Loading flash JSON: Running external process... takes forever

Part Number: SYSCONFIG
Other Parts Discussed in Thread: AM263P4, UNIFLASH,

Tool/software:

Hello,
I dumped the JSON file on the bottom from a AM263P4 with the ospi_flash_diag example project. It is from a Maxcronix MX25L3233F flash chip.

Then I try to load it into the example.sysconfig of the flasher_jtag_uniflash project. The loader spins forever with "Running external process...".

CCS version 12.8 + AM263Px MCU SDK version 10.0.0

Is there some kind of a commandline tool which I could launch to debug this? Maybe I am missing a JSON lib on my system or something like that?

I also tried to load it into online sysconfig. There, the button for "load JSON" is greyed out.


JSON:

{

	"flashSize": 4194304,
	"flashPageSize": 256,
	"flashManfId": "0xC2",
	"flashDeviceId": "0x2016",
	"flashBlockSize": 65536,
	"flashSectorSize": 4096,
	"cmdBlockErase3B": "0xD8",
	"cmdBlockErase4B": "0xD8",
	"cmdSectorErase3B": "0x20",
	"cmdSectorErase4B": "0x20",
	"protos": {
		"p111": {
			"isDtr": false,
			"cmdRd": "0x03",
			"cmdWr": "0x02",
			"modeClksCmd": 0,
			"modeClksRd": 0,
			"dummyClksCmd": 0,
			"dummyClksRd": 0,
			"enableType": "0",
			"enableSeq": "0x00",
			"dummyCfg": null,
			"protoCfg": null,
			"strDtrCfg": null
		},
		"p112": {
			"isDtr": false,
			"cmdRd": "0x3B",
			"cmdWr": "0x02",
			"modeClksCmd": 0,
			"modeClksRd": 0,
			"dummyClksCmd": 0,
			"dummyClksRd": 8,
			"enableType": "0",
			"enableSeq": "0x00",
			"dummyCfg": null,
			"protoCfg": null,
			"strDtrCfg": null
		},
		"p114": {
			"isDtr": false,
			"cmdRd": "0x6B",
			"cmdWr": "0x02",
			"modeClksCmd": 0,
			"modeClksRd": 0,
			"dummyClksCmd": 0,
			"dummyClksRd": 8,
			"enableType": "2",
			"enableSeq": "0x00",
			"dummyCfg": null,
			"protoCfg": null,
			"strDtrCfg": null
		},
		"p118": null,
		"p444s": null,
		"p444d": null,
		"p888s": null,
		"p888d": null,
		"pCustom": { 
			"fxn": null
		}
	},
	"addrByteSupport": "0",
	"fourByteAddrEnSeq": "0x00",
	"cmdExtType": "NONE",
	"resetType": "0x10",
	"deviceBusyType": "1",
	"cmdWren": "0x06",
	"cmdRdsr": "0x05",
	"srWip":  0,
	"srWel":  1,
	"cmdChipErase": "0xC7",
	"rdIdSettings": {
		"cmd": "0x9F",
		"numBytes": 5,
		"dummy4": 0,
		"dummy8": 0
	},
	"xspiWipRdCmd": "0x00",
	"xspiWipReg": "0x00000000",
	"xspiWipBit": 0,
	"flashDeviceBusyTimeout": 0,
	"flashPageProgTimeout": 400
}