Tim Newsome

Results 192 comments of Tim Newsome

> I don't quite understand why JER is unpleasant to use. Can you write a short script as an example? JER is basically JSON, which is very picky about its...

All the automated test failures are because numpy isn't installed. Is that being addressed somewhere? Should I try and edit to workflow so that it passes?

That doesn't work, because json5.loads() will see ``` { configuration: { ... } } ``` and return `{ 'configuration': { ... } }` but the top level type is a...

Script: ```python #!/usr/bin/python3 import asn1tools import json5 schema = """ Choice-Test DEFINITIONS AUTOMATIC TAGS ::= BEGIN Top ::= CHOICE { integer INTEGER, boolean BOOLEAN } END """ jer_data = b'{"integer":...

No, in the actual application I'm taking a file that a user has created (probably by hand) and turn it into UPER. I just converted to JER in the script...

Ah! I missed in your earlier comment that you were intentionally running it through a temporary JER stage to then parse it with a schema-aware parser. That work-around will work...

Can you submit this change to upstream (as described in https://openocd.org/doc/doxygen/html/HACKING_source.html) instead of here? The flash code should be the same in both, and that way I won't have the...

That sounds like a reasonable solution for this problem. (More generally, it's probably desirable to have the delay slowly decay back to 1, but it'd take some fiddling to figure...

I don't know what RISC-V MPU is. In general, this branch of OpenOCD will be able to debug RISC-V hardware, but there are probably some exceptions where that's not true.

This version of OpenOCD definitely works with HiFive Unleashed. Here's a config file that you can use: https://github.com/riscv/riscv-tests/blob/master/debug/targets/SiFive/HiFiveUnleashed.cfg