开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: XCat NG changes

 

On Tue, Aug 9, 2022 at 5:12 PM swguest via groups.io
<swguest@...> wrote:

I'm thinking the data update write to EEPROM is going to be (relatively) slower than a mirror copy to RAM.
It seemed logical to pre-calculate all the bytes to change to their new values, checksum the changes and write that to the EEPROM first. Once there, a simple mirror copy would be quick(er) and complete, if the radio got a reset cmd for some reason and executed a re-check of the codeplug integrity.
The way the legacy Xcat worked was that all frequency / PL / scan list
changes just updated RAM for the special "VFO" mode (mode 1). A
separate (custom) command could store the current contents of the VFO
(mode 1) into a specified mode. That's the only time flash was
written. When the radio was used as a remote base via standard CI-V
commands or Doug Hall control nothing was ever written to flash. On
the plain X there wasn't any kind of checksum on the code plug.


Also, I'm thinking in terms of permanent freq/PL/NPscanlists etc changes to the codeplug vs a VFO mode of operation which need not be permanent or need a checksum re-calc and store function.
VFO mode from the codeplug side could get tedious.
Your original routine worked with 1/8th the horsepower so this should too. Does the Xcat's VFO lock-step the TX with the RX or is it RX only?
The setting the VFO set the RX frequency, the TX frequency was also
set by adding a signed TX offset value to the specified receive
frequency.


Yeah, loosing feature on next gen designs it always a bad thing. I dont know about the Doug Hall stuff but you had a couple of guys chime it when it was mentioned.
Doug Hall is a thing for remote base people, it's supported by lots of
controllers. Personally I never used it, my controllers were all DIY
and I found serial much easier to deal with. There's a fair number of
people using Xcats with Asterisk/AllStar systems for remote bases and
AFAIK they all use CI-V.


If there are any I/O or an SPI port available that might be a candidate for a serial accessory. I'm guessing since you have the feature worked out, the base code is pretty much boiler plate, if porting it isnt too much of a headache.
All of the pins are used, too bad the Pico PCB didn't bring out all
the rest of the GPIO lines (4) that would have made things a bit less
tight.

There's I2C GPIO expansion ports, but they are only good for slow signals.

With all of the level converters and pin limitations updating the
technology is certainly ADDING complexity and chip count... that's not
how it's supposed to work!

73's Skip WB6YMH

If the code is there, accessory design TBD.

I know it violates the KISS philosophy, but you could SPI the data into a ser to par FF/ reg W/ an /OE line (595's I think?) and free up a few I/O if needed.

Yeah, the SyntorX/X9000 squlech syndrome. I had aT74 that hated cold weather, and this is S Texas!
Sometimes it would be so cold in the morning the squelch wouldnt close. Sometimes even the vco drifted in/out of lock until the heater wamed up the back seat floorboard enough for it to behave. I think he just wanted to retire to Aruba or somewhere........








Re: Has anyone fully decoded the X9000 memory mapping?

 

Jumper is in for 2K mode.?


Re: Has anyone fully decoded the X9000 memory mapping?

 

IIRC his setup was originally a 2k.
I dont know if he ever had or tried to install a 2864


Re: Has anyone fully decoded the X9000 memory mapping?

 

I don't care what's in it. One mode is fine.

I had the pins offset wrong. You have to hang 4 over the edge for a 2k eeprom. It now shows fail 01/82 which is a bit of progress.

I don't have a floppy and and my usb to floppy drive setup now so I can't get the original codeplug or one made or read from this radio from the programming computer right now but I do have some from others. Attached is one.



On Tue, Aug 9, 2022 at 6:23 PM swguest via <swguest=[email protected]> wrote:
Hmmm..odd that it didnt complain about a 9k but did about a 2k. being 2048 byte but trimmed to 0-2047 in you hex editor.
Well you know it does something. The radio may have hung on the fact that the byte id is set for UHF.
I dont know why you 2k LB is failing. Try putting the full 9k LB file in the emulator.
If that fails I'll make one and post it. What do you want in it. 10m 6m and w/ some slaved PLs?


Re: XCat NG changes

 

I'm thinking the data update write to EEPROM is going to be (relatively) slower than a mirror copy to RAM.
It seemed logical to pre-calculate all the bytes to change to their new values, checksum the changes and write that to the EEPROM first. Once there, a simple mirror copy would be quick(er) and complete, if the radio got a reset cmd for some reason and executed a re-check of the codeplug integrity.

Also, I'm thinking in terms of permanent freq/PL/NPscanlists etc changes to the codeplug vs a VFO mode of operation which need not be permanant or need a checksum re-calc and store function.
VFO mode from the codeplug side could get tedious.
Your original routine worked with 1/8th the horsepower so this should too. Does the Xcat's VFO lock-step the TX with the RX or is it RX only?

Yeah, loosing feature on next gen designs it always a bad thing. I dont know about the Doug Hall stuff but you had a couple of guys chime it when it was mentioned.

If there are any I/O or an SPI port available that might be a candidate for a serial accessory. I'm guessing since you have the feature worked out, the base code is pretty much boiler plate, if porting it isnt too much of a headache.
If the code is there, accessory design TBD.

I know it violates the KISS philosophy, but you could SPI the data into a ser to par FF/ reg W/ an /OE line (595's I think?) and free up a few I/O if needed.

Yeah, the SyntorX/X9000 squlech syndrome. I had aT74 that hated cold weather, and this is S Texas!
Sometimes it would be so cold in the morning the squelch wouldnt close. Sometimes even the vco drifted in/out of lock until the heater wamed up the back seat floorboard enough for it to behave. I think he just wanted to retire to Aruba or somewhere........








Re: Has anyone fully decoded the X9000 memory mapping?

 

Hmmm..odd that it didnt complain about a 9k but did about a 2k. being
> 2048 byte but trimmed to 0-2047 in you hex editor.

Don't forget that the radio has a jumper for EEPROM size.

De


Re: Has anyone fully decoded the X9000 memory mapping?

 

Hmmm..odd that it didnt complain about a 9k but did about a 2k. being 2048 byte but trimmed to 0-2047 in you hex editor.
Well you know it does something. The radio may have hung on the fact that the byte id is set for UHF.
I dont know why you 2k LB is failing. Try putting the full 9k LB file in the emulator.
If that fails I'll make one and post it. What do you want in it. 10m 6m and w/ some slaved PLs?


Re: XCat NG changes

 

My plan is to have an area in RAM that mirrors the EEPROM data. The
PIO state machine would DMA data from the RAM buffer to the GPIO pins
automagically. The CPU would have nothing to do except montor the
serial port for commands (CI-V or SB9600). If a command came in that
modified the VFO it would just update the bytes in RAM. No need to
stop the state machine, if the Syntor happens to read at the exact
microsecond it might get inconsistent data, but that's no worse than
no data if the state machine were stopped.

The reason for only updating the data output on address change was
just to optimize the response time... probably something that's not
even needed.

I don't like losing functionality that the legacy Xcat has, but I have
no idea if anyone ever used it or now (Doug Hall "user functions"
primarily). I put a digital pot in my 2 meter radio for squelch. I
tested it with the PC control program, but I never really used it for
lack of control system support. "Back in the day" there were WAY more
than a few trips to the hill to tighten or loosen 2 meter and 6 meter
squelches!

73's Skip WB6YMH

On Tue, Aug 9, 2022 at 3:35 PM swguest via groups.io
<swguest@...> wrote:

No, I get it. That's what I was thinking. I like that design too, once I mulled it over a bit....ala KISS.
...that was part of the epifany.
Why worry about addr change? Let it read the addr and write the data as fast as it wants or add some NOPs or equivalant.
When the /CE does go low it might write the pins with the same data dozens of times before the CE is released. As long as the outputs dont "blink" ,should be no harm no foul.

All the uC's I've seen overadvertize the I/O. Once you muddle thru the cant use this if that, avoid using the other when your doing something else......

Looks like the Pico is plenty fast to multiplex addr lines via latches or use a parallel to serial scheme but that increases parts count/complexity..there goes KISS.

One thought is to mirror the codeplug data in RAM at boot time and serve the codeplug data from RAM.

Probably helps speed a bit too, but mainly it will let PH II data manipulation occur in the EEPROM at will without interfering with the read operation, or serve a partial edit of frequency values.

The last step of the data modification routune would be to pause the state machine, refresh the RAM with the new data and restart the state machine.

Also, the radio is going to expect to read and calc the checksum first thing on it'd bootup. The emulator needs to online serving data before that.









Re: Has anyone fully decoded the X9000 memory mapping?

 

No joy yet. It loaded up the uhf file off the web site and the software?didn't complain. I was able to transfer it to the device's RAM and verify and it was happy. However, the radio just stays on SELF CHECK.

I tried trimming one of my codeplugs but whatever I did was not correct as the Romulator did not like it.

On Tue, Aug 9, 2022 at 3:58 PM swguest via <swguest=[email protected]> wrote:
Not directly.
The RSS makes 9k files but only writes 2048 or or 8192 byte to the radio.
Make a codeplug for a 2k radio, save it then delete all the data after 7FFh in Hex workshop or whatever.
You can probablr put that full 9k on the Romulator and the radio wont care because it is only looking at/for 2k


Re: Has anyone fully decoded the X9000 memory mapping?

 

Mine is 6.00SP so it's old.


On Tue, Aug 9, 2022 at 4:44 PM swguest via <swguest=[email protected]> wrote:
Just curious.? R8.01 runs is a cmd window without griping. Keep me from having to mess w/the NEC..............which
I fired it up today after a long time down...the HDD spun up but the bios was trashed.... dead battery..........Had to find the C/H/S data and enter it in the bios to get 'er to boot.....WHEW! - thought it was a goner.
Need to replace battery, Re-setting the bios is going to be a PITA after every powerdown.


Re: XCat NG changes

 

On Tue, Aug 9, 2022 at 03:35 PM, swguest wrote:
needs to online serving data before that.
needs BE to online serving data before that.
and not the WWW definition of online.........


Re: XCat NG changes

 

No, I get it. That's what I was thinking. I like that design too, once I mulled it over a bit....ala KISS.
...that was part of the epifany.
Why worry about addr change? Let it read the addr and write the data as fast as it wants or add some NOPs or equivalant.
When the /CE does go low it might write the pins with the same data dozens of times before the CE is released. As long as the outputs dont "blink" ,should be no harm no foul.

All the uC's I've seen overadvertize the I/O. Once you muddle thru the cant use this if that, avoid using the other when your doing something else......

Looks like the Pico is plenty fast to multiplex addr lines via latches or use a parallel to serial scheme but that increases parts count/complexity..there goes KISS.

One thought is to mirror the codeplug data in RAM at boot time and serve the codeplug data from RAM.

Probably helps speed a bit too, but mainly it will let PH II data manipulation occur in the EEPROM at will without interfering with the read operation, or serve a partial edit of frequency values.

The last step of the data modification routune would be to pause the state machine, refresh the RAM with the new data and restart the state machine.

Also, the radio is going to expect to read and calc the checksum first thing on it'd bootup. The emulator needs to online serving data before that.









Re: XCat NG changes

 

The /CE input will be wired directly to a bus transceiver between the
bus and the Pico. The CPU won't be aware of /CE state. I may be
overly optimistic, but the plan is for the PIO state machine to update
data out everytime the address input changes. Going to extreme
measures to save a pin.

73's Skip WB6YMH

On Tue, Aug 9, 2022 at 2:46 PM swguest via groups.io
<swguest@...> wrote:

I didnt se a /CE input.

I had one of those 3:42 am epifany's this morning........


Re: XCat NG changes

 

CE in?regard to what?


On Tue, Aug 9, 2022 at 4:46 PM swguest via <swguest=[email protected]> wrote:
I didnt se a /CE input.

I had one of those 3:42 am epifany's this morning........


Re: XCat NG changes

 

I didnt se a /CE input.

I had one of those 3:42 am epifany's this morning........


Re: Has anyone fully decoded the X9000 memory mapping?

 

Just curious.? R8.01 runs is a cmd window without griping. Keep me from having to mess w/the NEC..............which
I fired it up today after a long time down...the HDD spun up but the bios was trashed.... dead battery..........Had to find the C/H/S data and enter it in the bios to get 'er to boot.....WHEW! - thought it was a goner.
Need to replace battery, Re-setting the bios is going to be a PITA after every powerdown.


Re: Has anyone fully decoded the X9000 memory mapping?

 

I don't recall now. My IP rolled or VPN Pi tunnel?imploded or something and I can't get back to the home PC to check. It's some SP 128 mode version I think, or at least that's what I recall the folder being named. I thought it was version 6 something.


On Tue, Aug 9, 2022 at 4:16 PM swguest via <swguest=[email protected]> wrote:
There is a byte (lost dics) on zero page that identifys the band.
I dont thinks the radio will implode, create a micro black hole and suck in the known universe but I'm reasonably sure it wont like it. I dont recall ever trying but I dont think the RSS will even allow a mismatch to get that far.
All the divider data will be whack for a T71 so I have no idea what you will get.
Do you have R8.01 of chprog?



Re: XCat NG changes

 

As in Next Gen?
Off to the Wiki.....


Re: Has anyone fully decoded the X9000 memory mapping?

 

There is a byte (lost dics) on zero page that identifys the band.
I dont thinks the radio will implode, create a micro black hole and suck in the known universe but I'm reasonably sure it wont like it. I dont recall ever trying but I dont think the RSS will even allow a mismatch to get that far.
All the divider data will be whack for a T71 so I have no idea what you will get.
Do you have R8.01 of chprog?



Re: Has anyone fully decoded the X9000 memory mapping?

 

Awesome, thanks!


On Tue, Aug 9, 2022 at 3:58 PM swguest via <swguest=[email protected]> wrote:
Not directly.
The RSS makes 9k files but only writes 2048 or or 8192 byte to the radio.
Make a codeplug for a 2k radio, save it then delete all the data after 7FFh in Hex workshop or whatever.
You can probablr put that full 9k on the Romulator and the radio wont care because it is only looking at/for 2k