<gamiee>
Although, I want to use those not only in one function, but in multiple ones within one .tcl file. What is best practice in this? I can't find any similar usage in other TCLs. Thanks!
<gamiee>
I guess it's possible only by using global keyword
<gamiee>
okay, I did it with globals, but I have another, more complex question
<gamiee>
I need to upload some byte code into RAM (to perform reset). I saw that Espressif does this, but they use C code in src/target to do it.
<gamiee>
I am using for reset only TCL. How I should implement this?
jn_ is now known as jn
<borneoa___>
gamiee: personal feeling, I find the keyword 'global' to make the code less readable. I use the double colon $::varname for globals
<borneoa___>
gamiee: you can write in memory with write_memory and write a long array of data. Then 'resume address's to run it